first commit

This commit is contained in:
Stefan Hacker
2026-04-03 09:38:48 +02:00
commit 37ad745546
47450 changed files with 3120798 additions and 0 deletions
@@ -0,0 +1,9 @@
import * as React from 'react';
import type { IButtonProps } from '../Button.types';
import type { JSXElement } from '@fluentui/utilities';
/**
* {@docCategory Button}
*/
export declare class PrimaryButton extends React.Component<IButtonProps, {}> {
render(): JSXElement;
}
@@ -0,0 +1,22 @@
import { __assign, __decorate, __extends } from "tslib";
import * as React from 'react';
import { customizable, nullRender } from '../../../Utilities';
import { DefaultButton } from '../DefaultButton/DefaultButton';
/**
* {@docCategory Button}
*/
var PrimaryButton = /** @class */ (function (_super) {
__extends(PrimaryButton, _super);
function PrimaryButton() {
return _super !== null && _super.apply(this, arguments) || this;
}
PrimaryButton.prototype.render = function () {
return React.createElement(DefaultButton, __assign({}, this.props, { primary: true, onRenderDescription: nullRender }));
};
PrimaryButton = __decorate([
customizable('PrimaryButton', ['theme', 'styles'], true)
], PrimaryButton);
return PrimaryButton;
}(React.Component));
export { PrimaryButton };
//# sourceMappingURL=PrimaryButton.js.map
@@ -0,0 +1 @@
{"version":3,"file":"PrimaryButton.js","sourceRoot":"../src/","sources":["components/Button/PrimaryButton/PrimaryButton.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAK/D;;GAEG;AAEH;IAAmC,iCAAiC;IAApE;;IAIA,CAAC;IAHQ,8BAAM,GAAb;QACE,OAAO,oBAAC,aAAa,eAAK,IAAI,CAAC,KAAK,IAAE,OAAO,EAAE,IAAI,EAAE,mBAAmB,EAAE,UAAU,IAAI,CAAC;IAC3F,CAAC;IAHU,aAAa;QADzB,YAAY,CAAC,eAAe,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC,EAAE,IAAI,CAAC;OAC5C,aAAa,CAIzB;IAAD,oBAAC;CAAA,AAJD,CAAmC,KAAK,CAAC,SAAS,GAIjD;SAJY,aAAa","sourcesContent":["import * as React from 'react';\nimport { customizable, nullRender } from '../../../Utilities';\nimport { DefaultButton } from '../DefaultButton/DefaultButton';\nimport type { IButtonProps } from '../Button.types';\n\nimport type { JSXElement } from '@fluentui/utilities';\n\n/**\n * {@docCategory Button}\n */\n@customizable('PrimaryButton', ['theme', 'styles'], true)\nexport class PrimaryButton extends React.Component<IButtonProps, {}> {\n public render(): JSXElement {\n return <DefaultButton {...this.props} primary={true} onRenderDescription={nullRender} />;\n }\n}\n"]}