react-minolith 0.0.24 → 0.0.26

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.
Files changed (33) hide show
  1. package/dist/RubyText-DKbvXoO7.js +20 -0
  2. package/dist/RubyText-DKbvXoO7.js.map +1 -0
  3. package/dist/assets/Label.css +1 -1
  4. package/dist/assets/Loader.css +1 -1
  5. package/dist/assets/Minolith.css +1 -1
  6. package/dist/assets/MinolithCssVariableStylesProvider.css +1 -1
  7. package/dist/components/Label/Label.js +13 -13
  8. package/dist/components/Loader/Loader.d.ts.map +1 -1
  9. package/dist/components/Loader/Loader.js +46 -42
  10. package/dist/components/Loader/Loader.js.map +1 -1
  11. package/dist/components/Loader/LoaderProps.d.ts +1 -0
  12. package/dist/components/Loader/LoaderProps.d.ts.map +1 -1
  13. package/dist/components/Ruby/Ruby.d.ts.map +1 -1
  14. package/dist/components/Ruby/Ruby.js +18 -15
  15. package/dist/components/Ruby/Ruby.js.map +1 -1
  16. package/dist/components/Ruby/Ruby.stories.d.ts.map +1 -1
  17. package/dist/components/Ruby/RubyProps.d.ts +3 -4
  18. package/dist/components/Ruby/RubyProps.d.ts.map +1 -1
  19. package/dist/components/Ruby/RubyText.d.ts +3 -0
  20. package/dist/components/Ruby/RubyText.d.ts.map +1 -0
  21. package/dist/components/Ruby/RubyText.js +7 -0
  22. package/dist/components/Ruby/RubyText.js.map +1 -0
  23. package/dist/components/Ruby/RubyTextProps.d.ts +5 -0
  24. package/dist/components/Ruby/RubyTextProps.d.ts.map +1 -0
  25. package/dist/components/Ruby/RubyTextProps.js +2 -0
  26. package/dist/components/Ruby/RubyTextProps.js.map +1 -0
  27. package/dist/components/Ruby/index.d.ts +2 -0
  28. package/dist/components/Ruby/index.d.ts.map +1 -1
  29. package/dist/components/Ruby/index.js +4 -2
  30. package/dist/components/Ruby/index.js.map +1 -1
  31. package/dist/react-minolith.js +36 -34
  32. package/dist/react-minolith.js.map +1 -1
  33. package/package.json +2 -2
@@ -0,0 +1,20 @@
1
+ import { jsxs as n, Fragment as a, jsx as l } from "react/jsx-runtime";
2
+ import i from "./utilities/classNameUtility.js";
3
+ import './assets/Section.css';const c = "_element_1py2f_1", m = {
4
+ element: c
5
+ };
6
+ function o(s) {
7
+ const e = { ...s };
8
+ delete e.fore, delete e.back, delete e.highlighter, delete e.border, delete e.positioning, delete e.sizing, delete e.spacing;
9
+ const t = [m.element];
10
+ return t.push(...i.getUtilityClassNames(s)), s.className && t.push(s.className), /* @__PURE__ */ n(a, { children: [
11
+ /* @__PURE__ */ l("rp", { children: "(" }),
12
+ /* @__PURE__ */ l("rt", { ...e, className: t.join(" ") }),
13
+ /* @__PURE__ */ l("rp", { children: ")" })
14
+ ] });
15
+ }
16
+ export {
17
+ o as R,
18
+ m as c
19
+ };
20
+ //# sourceMappingURL=RubyText-DKbvXoO7.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RubyText-DKbvXoO7.js","sources":["../src/components/Ruby/RubyText.tsx"],"sourcesContent":["import { classNameUtility } from \"../../utilities\";\r\nimport classNames from \"./Ruby.module.scss\";\r\nimport RubyTextProps from \"./RubyTextProps\";\r\n\r\nexport default function RubyText(props: RubyTextProps): React.ReactElement {\r\n const assignedProps = { ...props };\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: string[] = [classNames[\"element\"]];\r\n assignedClassNames.push(...classNameUtility.getUtilityClassNames(props));\r\n props.className && assignedClassNames.push(props.className);\r\n\r\n return (\r\n <>\r\n <rp>(</rp>\r\n <rt {...assignedProps} className={assignedClassNames.join(\" \")} />\r\n <rp>)</rp>\r\n </>\r\n );\r\n}\r\n"],"names":["RubyText","props","assignedProps","assignedClassNames","classNames","classNameUtility","jsxs","Fragment","jsx"],"mappings":";;;;;AAIA,SAAwBA,EAASC,GAA0C;AACnE,QAAAC,IAAgB,EAAE,GAAGD,EAAM;AAEjC,SAAOC,EAAc,MACrB,OAAOA,EAAc,MACrB,OAAOA,EAAc,aACrB,OAAOA,EAAc,QACrB,OAAOA,EAAc,aACrB,OAAOA,EAAc,QACrB,OAAOA,EAAc;AAGrB,QAAMC,IAA+B,CAACC,EAAW,OAAU;AAC3D,SAAAD,EAAmB,KAAK,GAAGE,EAAiB,qBAAqBJ,CAAK,CAAC,GACvEA,EAAM,aAAaE,EAAmB,KAAKF,EAAM,SAAS,GAItD,gBAAAK,EAAAC,GAAA,EAAA,UAAA;AAAA,IAAA,gBAAAC,EAAC,QAAG,UAAC,IAAA,CAAA;AAAA,IACL,gBAAAA,EAAC,QAAI,GAAGN,GAAe,WAAWC,EAAmB,KAAK,GAAG,GAAG;AAAA,IAChE,gBAAAK,EAAC,QAAG,UAAC,IAAA,CAAA;AAAA,EAAA,GACP;AAEJ;"}
@@ -1 +1 @@
1
- ._label_rn4t0_1{box-sizing:border-box;margin:0;padding:0;font-weight:var(--minolith-font-weight-semibold)}._label_rn4t0_1._is-gray_rn4t0_7{color:var(--minolith-color-gray-label-fore)}._label_rn4t0_1._is-red_rn4t0_10{color:var(--minolith-color-red-label-fore)}._label_rn4t0_1._is-orange_rn4t0_13{color:var(--minolith-color-orange-label-fore)}._label_rn4t0_1._is-yellow_rn4t0_16{color:var(--minolith-color-yellow-label-fore)}._label_rn4t0_1._is-green_rn4t0_19{color:var(--minolith-color-green-label-fore)}._label_rn4t0_1._is-cyan_rn4t0_22{color:var(--minolith-color-cyan-label-fore)}._label_rn4t0_1._is-blue_rn4t0_25{color:var(--minolith-color-blue-label-fore)}._label_rn4t0_1._is-violet_rn4t0_28{color:var(--minolith-color-violet-label-fore)}._label_rn4t0_1._is-magenta_rn4t0_31{color:var(--minolith-color-magenta-label-fore)}
1
+ ._label_17teo_1{box-sizing:border-box;margin:0;padding:0;font-weight:var(--minolith-font-weight-semibold);color:var(--minolith-color-default-label-fore)}._label_17teo_1._is-gray_17teo_8{color:var(--minolith-color-gray-label-fore)}._label_17teo_1._is-red_17teo_11{color:var(--minolith-color-red-label-fore)}._label_17teo_1._is-orange_17teo_14{color:var(--minolith-color-orange-label-fore)}._label_17teo_1._is-yellow_17teo_17{color:var(--minolith-color-yellow-label-fore)}._label_17teo_1._is-green_17teo_20{color:var(--minolith-color-green-label-fore)}._label_17teo_1._is-cyan_17teo_23{color:var(--minolith-color-cyan-label-fore)}._label_17teo_1._is-blue_17teo_26{color:var(--minolith-color-blue-label-fore)}._label_17teo_1._is-violet_17teo_29{color:var(--minolith-color-violet-label-fore)}._label_17teo_1._is-magenta_17teo_32{color:var(--minolith-color-magenta-label-fore)}
@@ -1 +1 @@
1
- ._loader_955rb_1{box-sizing:border-box;margin:0;padding:0;animation-fill-mode:both;animation-duration:var(--minolith-animation-speed-normal);animation-iteration-count:infinite;animation-name:_loader-lotate_955rb_1;animation-timing-function:linear;aspect-ratio:1;border-radius:50%;background:var(--minolith-color-default-loader-fore);mask:conic-gradient(rgba(0,0,0,0) 10%,var(--minolith-color-default-back)),linear-gradient(var(--minolith-color-default-back) 0 0) content-box;-webkit-mask-composite:source-out;mask-composite:subtract;width:2rem;padding:.5rem}._loader_955rb_1._is-infinite_955rb_18{animation-iteration-count:infinite}._loader_955rb_1._is-heavy_955rb_21{animation-duration:var(--minolith-animation-speed-heavy)}._loader_955rb_1._is-slower_955rb_24{animation-duration:var(--minolith-animation-speed-slower)}._loader_955rb_1._is-slow_955rb_24{animation-duration:var(--minolith-animation-speed-slow)}._loader_955rb_1._is-fast_955rb_30{animation-duration:var(--minolith-animation-speed-fast)}._loader_955rb_1._is-faster_955rb_33{animation-duration:var(--minolith-animation-speed-faster)}._loader_955rb_1._is-flash_955rb_36{animation-duration:var(--minolith-animation-speed-flash)}._loader_955rb_1._is-alternate_955rb_39{animation-direction:alternate}._loader_955rb_1._is-reverse_955rb_42{animation-direction:reverse}._loader_955rb_1._is-linear_955rb_45{animation-timing-function:cubic-bezier(0,0,1,1)}._loader_955rb_1._is-ease_955rb_48{animation-timing-function:cubic-bezier(.25,.1,.25,1)}._loader_955rb_1._is-ease-in_955rb_51{animation-timing-function:cubic-bezier(.42,0,1,1)}._loader_955rb_1._is-ease-out_955rb_54{animation-timing-function:cubic-bezier(0,0,.58,1)}._loader_955rb_1._is-ease-in-out_955rb_57{animation-timing-function:cubic-bezier(.42,0,.58,1)}._loader_955rb_1._is-delay-1_955rb_60{animation-delay:1s}._loader_955rb_1._is-delay-2_955rb_63{animation-delay:2s}._loader_955rb_1._is-delay-3_955rb_66{animation-delay:3s}._loader_955rb_1._is-delay-4_955rb_69{animation-delay:4s}._loader_955rb_1._is-delay-5_955rb_72{animation-delay:5s}._loader_955rb_1._is-delay-6_955rb_75{animation-delay:6s}._loader_955rb_1._is-delay-7_955rb_78{animation-delay:7s}._loader_955rb_1._is-delay-8_955rb_81{animation-delay:8s}._loader_955rb_1._is-delay-9_955rb_84{animation-delay:9s}._loader_955rb_1._is-delay-10_955rb_87{animation-delay:10s}._loader_955rb_1._is-small_955rb_90{width:1rem;padding:.25rem}._loader_955rb_1._is-large_955rb_94{width:4rem}._loader_955rb_1._is-gray_955rb_97{background:var(--minolith-color-gray-loader-fore)}._loader_955rb_1._is-red_955rb_100{background:var(--minolith-color-red-loader-fore)}._loader_955rb_1._is-orange_955rb_103{background:var(--minolith-color-orange-loader-fore)}._loader_955rb_1._is-yellow_955rb_106{background:var(--minolith-color-yellow-loader-fore)}._loader_955rb_1._is-green_955rb_109{background:var(--minolith-color-green-loader-fore)}._loader_955rb_1._is-cyan_955rb_112{background:var(--minolith-color-cyan-loader-fore)}._loader_955rb_1._is-blue_955rb_115{background:var(--minolith-color-blue-loader-fore)}._loader_955rb_1._is-violet_955rb_118{background:var(--minolith-color-violet-loader-fore)}._loader_955rb_1._is-magenta_955rb_121{background:var(--minolith-color-magenta-loader-fore)}@keyframes _loader-lotate_955rb_1{to{transform:rotate(1turn)}}
1
+ ._loader_7zm8t_1{box-sizing:border-box;margin:0;padding:0;animation-fill-mode:both;animation-duration:var(--minolith-animation-speed-normal);animation-iteration-count:infinite;animation-name:_loader-lotate_7zm8t_1;animation-timing-function:linear;aspect-ratio:1;border-radius:50%;background:var(--minolith-color-default-loader-fore);mask:conic-gradient(rgba(0,0,0,0) 10%,var(--minolith-color-default-back)),linear-gradient(var(--minolith-color-default-back) 0 0) content-box;-webkit-mask-composite:source-out;mask-composite:subtract;width:1rem;padding:.25rem;height:auto}._loader_7zm8t_1._is-infinite_7zm8t_19{animation-iteration-count:infinite}._loader_7zm8t_1._is-heavy_7zm8t_22{animation-duration:var(--minolith-animation-speed-heavy)}._loader_7zm8t_1._is-slower_7zm8t_25{animation-duration:var(--minolith-animation-speed-slower)}._loader_7zm8t_1._is-slow_7zm8t_25{animation-duration:var(--minolith-animation-speed-slow)}._loader_7zm8t_1._is-fast_7zm8t_31{animation-duration:var(--minolith-animation-speed-fast)}._loader_7zm8t_1._is-faster_7zm8t_34{animation-duration:var(--minolith-animation-speed-faster)}._loader_7zm8t_1._is-flash_7zm8t_37{animation-duration:var(--minolith-animation-speed-flash)}._loader_7zm8t_1._is-alternate_7zm8t_40{animation-direction:alternate}._loader_7zm8t_1._is-reverse_7zm8t_43{animation-direction:reverse}._loader_7zm8t_1._is-linear_7zm8t_46{animation-timing-function:cubic-bezier(0,0,1,1)}._loader_7zm8t_1._is-ease_7zm8t_49{animation-timing-function:cubic-bezier(.25,.1,.25,1)}._loader_7zm8t_1._is-ease-in_7zm8t_52{animation-timing-function:cubic-bezier(.42,0,1,1)}._loader_7zm8t_1._is-ease-out_7zm8t_55{animation-timing-function:cubic-bezier(0,0,.58,1)}._loader_7zm8t_1._is-ease-in-out_7zm8t_58{animation-timing-function:cubic-bezier(.42,0,.58,1)}._loader_7zm8t_1._is-delay-1_7zm8t_61{animation-delay:1s}._loader_7zm8t_1._is-delay-2_7zm8t_64{animation-delay:2s}._loader_7zm8t_1._is-delay-3_7zm8t_67{animation-delay:3s}._loader_7zm8t_1._is-delay-4_7zm8t_70{animation-delay:4s}._loader_7zm8t_1._is-delay-5_7zm8t_73{animation-delay:5s}._loader_7zm8t_1._is-delay-6_7zm8t_76{animation-delay:6s}._loader_7zm8t_1._is-delay-7_7zm8t_79{animation-delay:7s}._loader_7zm8t_1._is-delay-8_7zm8t_82{animation-delay:8s}._loader_7zm8t_1._is-delay-9_7zm8t_85{animation-delay:9s}._loader_7zm8t_1._is-delay-10_7zm8t_88{animation-delay:10s}._loader_7zm8t_1._is-large_7zm8t_91{width:2rem;padding:.25rem}._loader_7zm8t_1._is-xlarge_7zm8t_95{width:3rem;padding:.25rem}._loader_7zm8t_1._is-xxlarge_7zm8t_99{width:4rem;padding:.5rem}._loader_7zm8t_1._is-xxxlarge_7zm8t_103{width:6rem;padding:.8rem}._loader_7zm8t_1._is-xxxxlarge_7zm8t_107{width:8rem;padding:1rem}._loader_7zm8t_1._is-xxxxxlarge_7zm8t_111{width:10rem;padding:1rem}._loader_7zm8t_1._is-gray_7zm8t_115{background:var(--minolith-color-gray-loader-fore)}._loader_7zm8t_1._is-red_7zm8t_118{background:var(--minolith-color-red-loader-fore)}._loader_7zm8t_1._is-orange_7zm8t_121{background:var(--minolith-color-orange-loader-fore)}._loader_7zm8t_1._is-yellow_7zm8t_124{background:var(--minolith-color-yellow-loader-fore)}._loader_7zm8t_1._is-green_7zm8t_127{background:var(--minolith-color-green-loader-fore)}._loader_7zm8t_1._is-cyan_7zm8t_130{background:var(--minolith-color-cyan-loader-fore)}._loader_7zm8t_1._is-blue_7zm8t_133{background:var(--minolith-color-blue-loader-fore)}._loader_7zm8t_1._is-violet_7zm8t_136{background:var(--minolith-color-violet-loader-fore)}._loader_7zm8t_1._is-magenta_7zm8t_139{background:var(--minolith-color-magenta-loader-fore)}@keyframes _loader-lotate_7zm8t_1{to{transform:rotate(1turn)}}