@axinom/mosaic-ui 0.35.0-rc.8 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Buttons/Button/Button.d.ts.map +1 -1
- package/dist/components/Buttons/Button/Button.model.d.ts +2 -2
- package/dist/components/Buttons/Button/Button.model.d.ts.map +1 -1
- package/dist/components/Buttons/Button.model.d.ts +5 -0
- package/dist/components/Buttons/Button.model.d.ts.map +1 -1
- package/dist/components/Buttons/CompositeButton/CompositeButton.d.ts.map +1 -1
- package/dist/index.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/components/Buttons/Button/Button.model.ts +2 -2
- package/src/components/Buttons/Button/Button.spec.tsx +56 -0
- package/src/components/Buttons/Button/Button.tsx +6 -2
- package/src/components/Buttons/Button.model.ts +5 -0
- package/src/components/Buttons/CompositeButton/CompositeButton.spec.tsx +56 -1
- package/src/components/Buttons/CompositeButton/CompositeButton.tsx +9 -2
- package/src/components/FormStation/FormStation.scss +4 -0
- package/src/components/FormStation/FormStation.tsx +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/Button/Button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuB,MAAM,OAAO,CAAC;AAG5C,OAAO,EAAE,QAAQ,EAAS,MAAM,aAAa,CAAC;AAE9C,OAAO,EAEL,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/Button/Button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuB,MAAM,OAAO,CAAC;AAG5C,OAAO,EAAE,QAAQ,EAAS,MAAM,aAAa,CAAC;AAE9C,OAAO,EAEL,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,gBAAgB,CAAC;AAkIxB;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM;;;;gEAGH,CAAC"}
|
|
@@ -11,11 +11,11 @@ export type ButtonProps = (NavigationButtonProps | ContextButtonProps) & {
|
|
|
11
11
|
/**
|
|
12
12
|
* Button options for icon buttons with navigation
|
|
13
13
|
*/
|
|
14
|
-
export interface NavigationButtonProps extends CommonNavigationButtonOptions, Pick<ButtonIconOptions, 'icon'> {
|
|
14
|
+
export interface NavigationButtonProps extends CommonNavigationButtonOptions, Pick<ButtonIconOptions, 'icon' | 'customIcon'> {
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* Button options for icon buttons with JS handlers
|
|
18
18
|
*/
|
|
19
|
-
export interface ContextButtonProps extends CommonJsButtonOptions, Pick<ButtonIconOptions, 'icon'> {
|
|
19
|
+
export interface ContextButtonProps extends CommonJsButtonOptions, Pick<ButtonIconOptions, 'icon' | 'customIcon'> {
|
|
20
20
|
}
|
|
21
21
|
//# sourceMappingURL=Button.model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.model.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/Button/Button.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,6BAA6B,EAC9B,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,WAAW,GACnB,CAAC,qBAAqB,GAAG,kBAAkB,CAAC,GAAG;IAC7C,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,+CAA+C;IAC/C,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,qDAAqD;IACrD,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB,CAAC;AAEN;;GAEG;AACH,MAAM,WAAW,qBACf,SAAQ,6BAA6B,EACnC,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC;CAAG;
|
|
1
|
+
{"version":3,"file":"Button.model.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/Button/Button.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,6BAA6B,EAC9B,MAAM,iBAAiB,CAAC;AAEzB,MAAM,MAAM,WAAW,GACnB,CAAC,qBAAqB,GAAG,kBAAkB,CAAC,GAAG;IAC7C,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,+CAA+C;IAC/C,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,qDAAqD;IACrD,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB,CAAC;AAEN;;GAEG;AACH,MAAM,WAAW,qBACf,SAAQ,6BAA6B,EACnC,IAAI,CAAC,iBAAiB,EAAE,MAAM,GAAG,YAAY,CAAC;CAAG;AAErD;;GAEG;AACH,MAAM,WAAW,kBACf,SAAQ,qBAAqB,EAC3B,IAAI,CAAC,iBAAiB,EAAE,MAAM,GAAG,YAAY,CAAC;CAAG"}
|
|
@@ -55,6 +55,11 @@ export interface ButtonIconOptions {
|
|
|
55
55
|
icon?: IconName;
|
|
56
56
|
/** Optional Icon Position */
|
|
57
57
|
iconPosition?: 'left' | 'right';
|
|
58
|
+
/**
|
|
59
|
+
* Optional custom icon.
|
|
60
|
+
* When provided, `icon` property is ignored.
|
|
61
|
+
*/
|
|
62
|
+
customIcon?: React.ReactNode;
|
|
58
63
|
}
|
|
59
64
|
/**
|
|
60
65
|
* Button event handler options for JS buttons
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.model.d.ts","sourceRoot":"","sources":["../../../src/components/Buttons/Button.model.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,+EAA+E;AAC/E,oBAAY,aAAa;IACvB;;;;;OAKG;IACH,UAAU,IAAA;IACV,OAAO,IAAA;IACP,MAAM,IAAA;IACN,IAAI,IAAA;IACJ,IAAI,IAAA;CACL;AAED;;;GAGG;AACH,MAAM,WAAW,qBACf,SAAQ,mBAAmB,EACzB,iBAAiB,EACjB,eAAe,EACf,GAAG,CAAC,UAAU,CAAC;IACjB;;;;;;;;OAQG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,qDAAqD;IACrD,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;CACtC;AAED;;;GAGG;AACH,MAAM,WAAW,6BACf,SAAQ,mBAAmB,EACzB,iBAAiB,EACjB,UAAU,EACV,GAAG,CAAC,eAAe,CAAC;CAAG;AAE3B;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,kBAAkB;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,oBAAoB;IACpB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,6BAA6B;IAC7B,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Button.model.d.ts","sourceRoot":"","sources":["../../../src/components/Buttons/Button.model.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAEvC,+EAA+E;AAC/E,oBAAY,aAAa;IACvB;;;;;OAKG;IACH,UAAU,IAAA;IACV,OAAO,IAAA;IACP,MAAM,IAAA;IACN,IAAI,IAAA;IACJ,IAAI,IAAA;CACL;AAED;;;GAGG;AACH,MAAM,WAAW,qB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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompositeButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/CompositeButton/CompositeButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EACL,oBAAoB,EAGrB,MAAM,yBAAyB,CAAC;AAGjC;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,
|
|
1
|
+
{"version":3,"file":"CompositeButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Buttons/CompositeButton/CompositeButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EACL,oBAAoB,EAGrB,MAAM,yBAAyB,CAAC;AAGjC;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAkC1D,CAAC"}
|