react-minolith 0.0.24 → 0.0.25
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/assets/Label.css +1 -1
- package/dist/assets/Loader.css +1 -1
- package/dist/assets/Minolith.css +1 -1
- package/dist/assets/MinolithCssVariableStylesProvider.css +1 -1
- package/dist/components/Label/Label.js +13 -13
- package/dist/components/Loader/Loader.d.ts.map +1 -1
- package/dist/components/Loader/Loader.js +46 -42
- package/dist/components/Loader/Loader.js.map +1 -1
- package/dist/components/Loader/LoaderProps.d.ts +1 -0
- package/dist/components/Loader/LoaderProps.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import t from "../../utilities/classNameUtility.js";
|
|
3
|
-
import '../../assets/Label.css';const
|
|
4
|
-
label:
|
|
5
|
-
"is-gray": "_is-
|
|
6
|
-
"is-red": "_is-
|
|
7
|
-
"is-orange": "_is-
|
|
8
|
-
"is-yellow": "_is-
|
|
9
|
-
"is-green": "_is-
|
|
10
|
-
"is-cyan": "_is-
|
|
11
|
-
"is-blue": "_is-
|
|
12
|
-
"is-violet": "_is-
|
|
13
|
-
"is-magenta": "_is-
|
|
3
|
+
import '../../assets/Label.css';const o = "_label_17teo_1", a = {
|
|
4
|
+
label: o,
|
|
5
|
+
"is-gray": "_is-gray_17teo_8",
|
|
6
|
+
"is-red": "_is-red_17teo_11",
|
|
7
|
+
"is-orange": "_is-orange_17teo_14",
|
|
8
|
+
"is-yellow": "_is-yellow_17teo_17",
|
|
9
|
+
"is-green": "_is-green_17teo_20",
|
|
10
|
+
"is-cyan": "_is-cyan_17teo_23",
|
|
11
|
+
"is-blue": "_is-blue_17teo_26",
|
|
12
|
+
"is-violet": "_is-violet_17teo_29",
|
|
13
|
+
"is-magenta": "_is-magenta_17teo_32"
|
|
14
14
|
};
|
|
15
|
-
function
|
|
15
|
+
function r(s) {
|
|
16
16
|
const e = { ...s };
|
|
17
17
|
delete e.colorName, delete e.fore, delete e.back, delete e.highlighter, delete e.border, delete e.positioning, delete e.sizing, delete e.spacing;
|
|
18
18
|
const l = [a.label];
|
|
19
19
|
return s.colorName && l.push(a[`is-${s.colorName}`]), l.push(...t.getUtilityClassNames(s)), s.className && l.push(s.className), /* @__PURE__ */ i("label", { ...e, className: l.join(" ") });
|
|
20
20
|
}
|
|
21
21
|
export {
|
|
22
|
-
|
|
22
|
+
r as default
|
|
23
23
|
};
|
|
24
24
|
//# sourceMappingURL=Label.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAEA,OAAO,WAAW,MAAM,eAAe,CAAC;AAExC,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,WAAW,GAAG,KAAK,CAAC,YAAY,
|
|
1
|
+
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAEA,OAAO,WAAW,MAAM,eAAe,CAAC;AAExC,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,WAAW,GAAG,KAAK,CAAC,YAAY,CAyBrE"}
|
|
@@ -1,51 +1,55 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import '../../assets/Loader.css';const l = "
|
|
2
|
+
import t from "../../utilities/classNameUtility.js";
|
|
3
|
+
import '../../assets/Loader.css';const l = "_loader_7zm8t_1", i = {
|
|
4
4
|
loader: l,
|
|
5
|
-
"loader-lotate": "_loader-
|
|
6
|
-
"is-infinite": "_is-
|
|
7
|
-
"is-heavy": "_is-
|
|
8
|
-
"is-slower": "_is-
|
|
9
|
-
"is-slow": "_is-
|
|
10
|
-
"is-fast": "_is-
|
|
11
|
-
"is-faster": "_is-
|
|
12
|
-
"is-flash": "_is-
|
|
13
|
-
"is-alternate": "_is-
|
|
14
|
-
"is-reverse": "_is-
|
|
15
|
-
"is-linear": "_is-
|
|
16
|
-
"is-ease": "_is-
|
|
17
|
-
"is-ease-in": "_is-ease-
|
|
18
|
-
"is-ease-out": "_is-ease-
|
|
19
|
-
"is-ease-in-out": "_is-ease-in-
|
|
20
|
-
"is-delay-1": "_is-delay-
|
|
21
|
-
"is-delay-2": "_is-delay-
|
|
22
|
-
"is-delay-3": "_is-delay-
|
|
23
|
-
"is-delay-4": "_is-delay-
|
|
24
|
-
"is-delay-5": "_is-delay-
|
|
25
|
-
"is-delay-6": "_is-delay-
|
|
26
|
-
"is-delay-7": "_is-delay-
|
|
27
|
-
"is-delay-8": "_is-delay-
|
|
28
|
-
"is-delay-9": "_is-delay-
|
|
29
|
-
"is-delay-10": "_is-delay-
|
|
30
|
-
"is-
|
|
31
|
-
"is-
|
|
32
|
-
"is-
|
|
33
|
-
"is-
|
|
34
|
-
"is-
|
|
35
|
-
"is-
|
|
36
|
-
"is-
|
|
37
|
-
"is-
|
|
38
|
-
"is-
|
|
39
|
-
"is-
|
|
40
|
-
"is-
|
|
5
|
+
"loader-lotate": "_loader-lotate_7zm8t_1",
|
|
6
|
+
"is-infinite": "_is-infinite_7zm8t_19",
|
|
7
|
+
"is-heavy": "_is-heavy_7zm8t_22",
|
|
8
|
+
"is-slower": "_is-slower_7zm8t_25",
|
|
9
|
+
"is-slow": "_is-slow_7zm8t_25",
|
|
10
|
+
"is-fast": "_is-fast_7zm8t_31",
|
|
11
|
+
"is-faster": "_is-faster_7zm8t_34",
|
|
12
|
+
"is-flash": "_is-flash_7zm8t_37",
|
|
13
|
+
"is-alternate": "_is-alternate_7zm8t_40",
|
|
14
|
+
"is-reverse": "_is-reverse_7zm8t_43",
|
|
15
|
+
"is-linear": "_is-linear_7zm8t_46",
|
|
16
|
+
"is-ease": "_is-ease_7zm8t_49",
|
|
17
|
+
"is-ease-in": "_is-ease-in_7zm8t_52",
|
|
18
|
+
"is-ease-out": "_is-ease-out_7zm8t_55",
|
|
19
|
+
"is-ease-in-out": "_is-ease-in-out_7zm8t_58",
|
|
20
|
+
"is-delay-1": "_is-delay-1_7zm8t_61",
|
|
21
|
+
"is-delay-2": "_is-delay-2_7zm8t_64",
|
|
22
|
+
"is-delay-3": "_is-delay-3_7zm8t_67",
|
|
23
|
+
"is-delay-4": "_is-delay-4_7zm8t_70",
|
|
24
|
+
"is-delay-5": "_is-delay-5_7zm8t_73",
|
|
25
|
+
"is-delay-6": "_is-delay-6_7zm8t_76",
|
|
26
|
+
"is-delay-7": "_is-delay-7_7zm8t_79",
|
|
27
|
+
"is-delay-8": "_is-delay-8_7zm8t_82",
|
|
28
|
+
"is-delay-9": "_is-delay-9_7zm8t_85",
|
|
29
|
+
"is-delay-10": "_is-delay-10_7zm8t_88",
|
|
30
|
+
"is-large": "_is-large_7zm8t_91",
|
|
31
|
+
"is-xlarge": "_is-xlarge_7zm8t_95",
|
|
32
|
+
"is-xxlarge": "_is-xxlarge_7zm8t_99",
|
|
33
|
+
"is-xxxlarge": "_is-xxxlarge_7zm8t_103",
|
|
34
|
+
"is-xxxxlarge": "_is-xxxxlarge_7zm8t_107",
|
|
35
|
+
"is-xxxxxlarge": "_is-xxxxxlarge_7zm8t_111",
|
|
36
|
+
"is-gray": "_is-gray_7zm8t_115",
|
|
37
|
+
"is-red": "_is-red_7zm8t_118",
|
|
38
|
+
"is-orange": "_is-orange_7zm8t_121",
|
|
39
|
+
"is-yellow": "_is-yellow_7zm8t_124",
|
|
40
|
+
"is-green": "_is-green_7zm8t_127",
|
|
41
|
+
"is-cyan": "_is-cyan_7zm8t_130",
|
|
42
|
+
"is-blue": "_is-blue_7zm8t_133",
|
|
43
|
+
"is-violet": "_is-violet_7zm8t_136",
|
|
44
|
+
"is-magenta": "_is-magenta_7zm8t_139"
|
|
41
45
|
};
|
|
42
|
-
function
|
|
46
|
+
function z(s) {
|
|
43
47
|
const e = { ...s };
|
|
44
|
-
delete e.colorName, delete e.fore, delete e.back, delete e.highlighter, delete e.border, delete e.positioning, delete e.sizing, delete e.spacing;
|
|
48
|
+
delete e.colorName, delete e.size, delete e.fore, delete e.back, delete e.highlighter, delete e.border, delete e.positioning, delete e.sizing, delete e.spacing;
|
|
45
49
|
const _ = [i.loader];
|
|
46
|
-
return _.push(i[`is-${s.colorName}`]), _.push(...
|
|
50
|
+
return s.colorName && _.push(i[`is-${s.colorName}`]), s.size && _.push(i[`is-${s.size}`]), _.push(...t.getUtilityClassNames(s)), s.className && _.push(s.className), /* @__PURE__ */ a("div", { ...e, className: _.join(" ") });
|
|
47
51
|
}
|
|
48
52
|
export {
|
|
49
|
-
|
|
53
|
+
z as default
|
|
50
54
|
};
|
|
51
55
|
//# sourceMappingURL=Loader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Loader.js","sources":["../../../src/components/Loader/Loader.tsx"],"sourcesContent":["import { classNameUtility } from \"../../utilities\";\r\nimport classNames from \"./Loader.module.scss\";\r\nimport LoaderProps from \"./LoaderProps\";\r\n\r\nexport default function Loader(props: LoaderProps): React.ReactElement {\r\n const assignedProps = { ...props };\r\n delete assignedProps[\"colorName\"];\r\n //#region BaseComponentProps\r\n delete assignedProps[\"fore\"];\r\n delete assignedProps[\"back\"];\r\n delete assignedProps[\"highlighter\"];\r\n delete assignedProps[\"border\"];\r\n delete assignedProps[\"positioning\"];\r\n delete assignedProps[\"sizing\"];\r\n delete assignedProps[\"spacing\"];\r\n //#endregion BaseComponentProps\r\n\r\n const assignedClassNames = [classNames[\"loader\"]];\r\n assignedClassNames.push(classNames[`is-${props.colorName}`]);\r\n assignedClassNames.push(...classNameUtility.getUtilityClassNames(props));\r\n props.className && assignedClassNames.push(props.className);\r\n\r\n return <div {...assignedProps} className={assignedClassNames.join(\" \")} />;\r\n}\r\n"],"names":["Loader","props","assignedProps","assignedClassNames","classNames","classNameUtility","jsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Loader.js","sources":["../../../src/components/Loader/Loader.tsx"],"sourcesContent":["import { classNameUtility } from \"../../utilities\";\r\nimport classNames from \"./Loader.module.scss\";\r\nimport LoaderProps from \"./LoaderProps\";\r\n\r\nexport default function Loader(props: LoaderProps): React.ReactElement {\r\n const assignedProps = { ...props };\r\n delete assignedProps[\"colorName\"];\r\n delete assignedProps[\"size\"];\r\n //#region BaseComponentProps\r\n delete assignedProps[\"fore\"];\r\n delete assignedProps[\"back\"];\r\n delete assignedProps[\"highlighter\"];\r\n delete assignedProps[\"border\"];\r\n delete assignedProps[\"positioning\"];\r\n delete assignedProps[\"sizing\"];\r\n delete assignedProps[\"spacing\"];\r\n //#endregion BaseComponentProps\r\n\r\n const assignedClassNames = [classNames[\"loader\"]];\r\n if (props.colorName) {\r\n assignedClassNames.push(classNames[`is-${props.colorName}`]);\r\n }\r\n if (props.size) {\r\n assignedClassNames.push(classNames[`is-${props.size}`]);\r\n }\r\n assignedClassNames.push(...classNameUtility.getUtilityClassNames(props));\r\n props.className && assignedClassNames.push(props.className);\r\n\r\n return <div {...assignedProps} className={assignedClassNames.join(\" \")} />;\r\n}\r\n"],"names":["Loader","props","assignedProps","assignedClassNames","classNames","classNameUtility","jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,SAAwBA,EAAOC,GAAwC;AAC/D,QAAAC,IAAgB,EAAE,GAAGD,EAAM;AACjC,SAAOC,EAAc,WACrB,OAAOA,EAAc,MAErB,OAAOA,EAAc,MACrB,OAAOA,EAAc,MACrB,OAAOA,EAAc,aACrB,OAAOA,EAAc,QACrB,OAAOA,EAAc,aACrB,OAAOA,EAAc,QACrB,OAAOA,EAAc;AAGrB,QAAMC,IAAqB,CAACC,EAAW,MAAS;AAChD,SAAIH,EAAM,aACRE,EAAmB,KAAKC,EAAW,MAAMH,EAAM,SAAS,EAAE,CAAC,GAEzDA,EAAM,QACRE,EAAmB,KAAKC,EAAW,MAAMH,EAAM,IAAI,EAAE,CAAC,GAExDE,EAAmB,KAAK,GAAGE,EAAiB,qBAAqBJ,CAAK,CAAC,GACvEA,EAAM,aAAaE,EAAmB,KAAKF,EAAM,SAAS,GAEnD,gBAAAK,EAAC,SAAK,GAAGJ,GAAe,WAAWC,EAAmB,KAAK,GAAG,GAAG;AAC1E;"}
|
|
@@ -2,5 +2,6 @@ import { ColorName } from '../../common/literalTypes';
|
|
|
2
2
|
import { DivProps } from '../Div';
|
|
3
3
|
export default interface LoaderProps extends DivProps {
|
|
4
4
|
colorName?: ColorName;
|
|
5
|
+
size?: "large" | "xlarge" | "xxlarge" | "xxxlarge" | "xxxxlarge" | "xxxxxlarge";
|
|
5
6
|
}
|
|
6
7
|
//# sourceMappingURL=LoaderProps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoaderProps.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/LoaderProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC,MAAM,CAAC,OAAO,WAAW,WAAY,SAAQ,QAAQ;IACnD,SAAS,CAAC,EAAE,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"LoaderProps.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/LoaderProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC,MAAM,CAAC,OAAO,WAAW,WAAY,SAAQ,QAAQ;IACnD,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,IAAI,CAAC,EACD,OAAO,GACP,QAAQ,GACR,SAAS,GACT,UAAU,GACV,WAAW,GACX,YAAY,CAAC;CAClB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-minolith",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.25",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/react-minolith.js",
|
|
6
6
|
"types": "./dist/react-minolith.d.ts",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"eslint-plugin-react-refresh": "^0.4.16",
|
|
72
72
|
"eslint-plugin-storybook": "^0.11.1",
|
|
73
73
|
"glob": "^11.0.0",
|
|
74
|
-
"minolith": "^0.0.
|
|
74
|
+
"minolith": "^0.0.31",
|
|
75
75
|
"react": "^19.0.0",
|
|
76
76
|
"react-dom": "^19.0.0",
|
|
77
77
|
"rimraf": "^6.0.1",
|