@yakad/ui 1.3.73 → 1.3.75

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 (53) hide show
  1. package/dist/appBar/appBar.module.css +3 -0
  2. package/dist/boxing.module.css +74 -0
  3. package/dist/card/card.js +2 -1
  4. package/dist/card/card.js.map +1 -1
  5. package/dist/card/card.module.css +2 -25
  6. package/dist/checkBox/checkBox.js +1 -1
  7. package/dist/codeBox/codeBox.js +1 -1
  8. package/dist/codeField/codeField.js +1 -1
  9. package/dist/container/container.d.ts +1 -1
  10. package/dist/container/container.js +2 -1
  11. package/dist/container/container.js.map +1 -1
  12. package/dist/container/container.module.css +0 -23
  13. package/dist/display/display.js +1 -1
  14. package/dist/footer/footer.module.css +3 -0
  15. package/dist/gridItem/gridItem.js +2 -1
  16. package/dist/gridItem/gridItem.js.map +1 -1
  17. package/dist/gridItem/gridItem.module.css +0 -24
  18. package/dist/index.d.ts +20 -21
  19. package/dist/index.js +25 -21
  20. package/dist/index.js.map +1 -1
  21. package/dist/inputField/inputField.js +1 -1
  22. package/dist/list/list.js +1 -1
  23. package/dist/listItem/listItem.d.ts +3 -1
  24. package/dist/listItem/listItem.js +3 -2
  25. package/dist/listItem/listItem.js.map +1 -1
  26. package/dist/listItem/listItem.module.css +0 -6
  27. package/dist/main/main.js +2 -1
  28. package/dist/main/main.js.map +1 -1
  29. package/dist/main/main.module.css +0 -23
  30. package/dist/navigation/navigation.d.ts +1 -0
  31. package/dist/navigation/navigation.js +3 -2
  32. package/dist/navigation/navigation.js.map +1 -1
  33. package/dist/navigation/navigation.module.css +0 -6
  34. package/dist/row/row.js +1 -1
  35. package/dist/row/row.js.map +1 -1
  36. package/dist/row/row.module.css +4 -0
  37. package/dist/screen/screen.js +2 -1
  38. package/dist/screen/screen.js.map +1 -1
  39. package/dist/screen/screen.module.css +0 -23
  40. package/dist/select/select.js +1 -1
  41. package/dist/stack/stack.js +2 -1
  42. package/dist/stack/stack.js.map +1 -1
  43. package/dist/stack/stack.module.css +0 -22
  44. package/dist/table/table.js +1 -1
  45. package/dist/theme/theme.d.ts +1 -0
  46. package/dist/theme/theme.js +3 -2
  47. package/dist/theme/theme.js.map +1 -1
  48. package/dist/theme/theme.module.css +0 -5
  49. package/package.json +2 -2
  50. package/dist/popup/popup.d.ts +0 -7
  51. package/dist/popup/popup.js +0 -22
  52. package/dist/popup/popup.js.map +0 -1
  53. package/dist/popup/popup.module.css +0 -20
@@ -2,11 +2,14 @@
2
2
  min-height: 6rem;
3
3
  padding-left: 2rem;
4
4
  padding-right: 2rem;
5
+ gap: 1rem;
5
6
  box-shadow: 0 0.1rem 0 0 rgb(var(--onSurfaceColor, 28 27 31) / 0.1);
6
7
  z-index: 2;
7
8
  background: rgb(var(--surfaceContainerColor, 243 237 247));
8
9
  color: rgb(var(--onSurfaceColor, 28 27 31));
9
10
  fill: rgb(var(--onSurfaceColor, 28 27 31));
11
+ transition: transform 0.3s ease;
12
+ will-change: transform;
10
13
  user-select: none;
11
14
  }
12
15
 
@@ -0,0 +1,74 @@
1
+ /* Column Box */
2
+ .flexColumnBox {
3
+ display: flex;
4
+ flex-direction: column;
5
+ width: 100%;
6
+ box-sizing: border-box;
7
+ }
8
+ /* fullWidthLover */
9
+ .flexColumnBox > :global(.fullWidthLover) {
10
+ width: 100%;
11
+ }
12
+ /* align */
13
+ .flexColumnBox.start {
14
+ justify-content: flex-start;
15
+ align-items: flex-start;
16
+ }
17
+ .flexColumnBox.center {
18
+ justify-content: center;
19
+ align-items: center;
20
+ }
21
+ .flexColumnBox.end {
22
+ justify-content: flex-end;
23
+ align-items: flex-end;
24
+ }
25
+
26
+ /* Row Box */
27
+ .flexRowBox {
28
+ display: flex;
29
+ flex-direction: row;
30
+ align-items: center;
31
+ width: 100%;
32
+ box-sizing: border-box;
33
+ }
34
+ /* align */
35
+ .flexRowBox.start {
36
+ justify-content: flex-start;
37
+ }
38
+ .flexRowBox.center {
39
+ justify-content: center;
40
+ }
41
+ .flexRowBox.end {
42
+ justify-content: flex-end;
43
+ }
44
+ /* overflow */
45
+ .flexRowBox.shrink {
46
+ white-space: nowrap;
47
+ }
48
+ .flexRowBox.wrap {
49
+ flex-wrap: wrap;
50
+ }
51
+ .flexRowBox.scroll {
52
+ overflow-x: auto;
53
+ white-space: nowrap;
54
+ -webkit-overflow-scrolling: touch; /* Smooth scroll on mobile */
55
+ }
56
+ .flexRowBox.scroll > * {
57
+ flex-shrink: 0;
58
+ }
59
+ .flexRowBox.scroll::-webkit-scrollbar {
60
+ height: 0.6rem;
61
+ }
62
+ .flexRowBox.scroll::-webkit-scrollbar-thumb {
63
+ border-radius: 0.3rem;
64
+ background: transparent;
65
+ }
66
+ .flexRowBox.scroll:hover::-webkit-scrollbar-thumb {
67
+ background-color: rgba(125, 125, 125, 0.16);
68
+ }
69
+ .flexRowBox.scroll::-webkit-scrollbar-thumb:hover {
70
+ background-color: rgba(125, 125, 125, 0.24);
71
+ }
72
+ .flexRowBox.scroll::-webkit-scrollbar-track {
73
+ background: transparent;
74
+ }
package/dist/card/card.js CHANGED
@@ -13,9 +13,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { forwardRef } from "react";
14
14
  import classNames from "classnames";
15
15
  import styles from "./card.module.css";
16
+ import boxingStyles from "../boxing.module.css";
16
17
  export const Card = forwardRef((_a, ref) => {
17
18
  var { align, blur, className, children } = _a, restProps = __rest(_a, ["align", "blur", "className", "children"]);
18
- const joinedClassNames = classNames("allowFullWidth", styles.card, { [styles[align]]: align }, { [styles.blur]: blur }, className);
19
+ const joinedClassNames = classNames(boxingStyles.flexColumnBox, { [boxingStyles[align]]: align }, "fullWidthLover", styles.card, { [styles.blur]: blur }, className);
19
20
  return (_jsx("div", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
20
21
  });
21
22
  //# sourceMappingURL=card.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"card.js","sourceRoot":"","sources":["../../src/card/card.tsx"],"names":[],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K,EAAE,EAC1C,gBAAgB,EAChB,MAAM,CAAC,IAAI,EACX,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,EACvB,SAAS,CACZ,CAAC;IAEF,OAAO,CACH,4BAAK,GAAG,EAAE,GAAG,IAAM,SAAS,IAAE,SAAS,EAAE,gBAAgB,YACpD,QAAQ,IACP,CACT,CAAC;AACN,CAAC,CACJ,CAAC"}
@@ -1,35 +1,12 @@
1
1
  .card {
2
- display: flex;
3
- flex-direction: column;
4
2
  padding: 2rem;
5
3
  overflow: hidden;
6
- margin: auto;
7
- box-sizing: border-box;
8
4
  border-radius: 2rem;
5
+ box-shadow: 0px 3px 3px -2px rgb(0 0 0 / 20%),
6
+ 0px 3px 4px 0px rgb(0 0 0 / 14%), 0px 1px 8px 0px rgb(0 0 0 / 12%);
9
7
  background: rgb(var(--surfaceContainerHighestColor, 230 224 233));
10
8
  color: rgb(var(--onSurfaceColor, 28 27 31));
11
9
  fill: rgb(var(--onSurfaceColor, 28 27 31));
12
- box-shadow: 0px 3px 3px -2px rgb(0 0 0 / 20%),
13
- 0px 3px 4px 0px rgb(0 0 0 / 14%), 0px 1px 8px 0px rgb(0 0 0 / 12%);
14
- }
15
- .card > :global(.allowFullWidth) {
16
- width: 100%;
17
- }
18
-
19
- .start {
20
- justify-content: flex-start;
21
- align-content: flex-start;
22
- align-items: flex-start;
23
- }
24
- .center {
25
- justify-content: center;
26
- align-content: center;
27
- align-items: center;
28
- }
29
- .end {
30
- justify-content: flex-end;
31
- align-content: flex-end;
32
- align-items: flex-end;
33
10
  }
34
11
 
35
12
  .card.blur {
@@ -17,7 +17,7 @@ import Symbol from "@yakad/symbols";
17
17
  import styles from "./checkBox.module.css";
18
18
  export const CheckBox = forwardRef((_a, ref) => {
19
19
  var { label, className, style } = _a, restProps = __rest(_a, ["label", "className", "style"]);
20
- const joinedClassNames = classNames(label && "allowFullWidth", styles.label, { [styles.labeled]: label }, { [styles.disabled]: restProps.disabled }, className);
20
+ const joinedClassNames = classNames(label && "fullWidthLover", styles.label, { [styles.labeled]: label }, { [styles.disabled]: restProps.disabled }, className);
21
21
  return (_jsxs("label", { className: joinedClassNames, style: style, children: [label, _jsx("input", Object.assign({ ref: ref }, restProps, { className: styles.input, type: "checkbox" })), _jsxs("div", { className: styles.symbolContainer, children: [_jsx(Symbol, { className: styles.symbolChecked, icon: "check_box" }), _jsx(Symbol, { className: styles.symbolUnChecked, icon: "check_box_outline_blank" })] })] }));
22
22
  });
23
23
  //# sourceMappingURL=checkBox.js.map
@@ -17,7 +17,7 @@ import styles from "./codeBox.module.css";
17
17
  import { Button, Card } from "../";
18
18
  export const CodeBox = forwardRef((_a, ref) => {
19
19
  var { copybutton, className, children } = _a, restProps = __rest(_a, ["copybutton", "className", "children"]);
20
- const joinedClassNames = classNames("allowFullWidth", styles.ZZZZZZZZZZ, className);
20
+ const joinedClassNames = classNames("fullWidthLover", styles.ZZZZZZZZZZ, className);
21
21
  return (_jsxs(Card, Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: [_jsx("pre", { children: children }), copybutton && _jsx(Button, { icon: _jsx(Symbol, { icon: "copy_all" }) })] })));
22
22
  });
23
23
  //# sourceMappingURL=codeBox.js.map
@@ -33,7 +33,7 @@ function removeUnNumberChars(inputElement) {
33
33
  }
34
34
  export const CodeField = forwardRef((_a, ref) => {
35
35
  var { length = 6, onfilled, autoComplete, pattern, onInput, className, style, children } = _a, restProps = __rest(_a, ["length", "onfilled", "autoComplete", "pattern", "onInput", "className", "style", "children"]);
36
- const joinedClassNames = classNames("allowFullWidth", styles.input, className);
36
+ const joinedClassNames = classNames("fullWidthLover", styles.input, className);
37
37
  const joinedStyles = Object.assign(Object.assign({}, style), { width: `calc(1.5ch * ${length})` });
38
38
  return (_jsx("input", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, style: joinedStyles, type: "number", minLength: length, maxLength: length, autoComplete: autoComplete || "off", pattern: pattern || "[0-9]", onInput: (event) => {
39
39
  isInputFilled(event, length) && onfilled;
@@ -1,6 +1,6 @@
1
1
  export interface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {
2
- size?: "xs" | "sm" | "md" | "lg" | "xl";
3
2
  align?: "start" | "center" | "end";
3
+ size?: "xs" | "sm" | "md" | "lg" | "xl";
4
4
  children?: React.ReactNode;
5
5
  }
6
6
  export declare const Container: import("react").ForwardRefExoticComponent<ContainerProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -13,9 +13,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { forwardRef } from "react";
14
14
  import classNames from "classnames";
15
15
  import styles from "./container.module.css";
16
+ import boxingStyles from "../boxing.module.css";
16
17
  export const Container = forwardRef((_a, ref) => {
17
18
  var { size = "xl", align, className, children } = _a, restProps = __rest(_a, ["size", "align", "className", "children"]);
18
- const joinedClassNames = classNames(styles.container, styles[size], { [styles[align]]: align }, className);
19
+ const joinedClassNames = classNames(boxingStyles.flexColumnBox, { [boxingStyles[align]]: align }, styles.container, styles[size], className);
19
20
  return (_jsx("div", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
20
21
  });
21
22
  //# sourceMappingURL=container.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"container.js","sourceRoot":"","sources":["../../src/container/container.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAQ5C,MAAM,CAAC,MAAM,SAAS,GAAG,UAAU,CAC/B,CAAC,EAAyD,EAAE,GAAG,EAAE,EAAE;QAAlE,EAAE,IAAI,GAAG,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,OAAgB,EAAX,SAAS,cAAvD,0CAAyD,CAAF;IACpD,MAAM,gBAAgB,GAAG,UAAU,CAC/B,MAAM,CAAC,SAAS,EAChB,MAAM,CAAC,IAAI,CAAC,EACZ,EAAE,CAAC,MAAM,CAAC,KAAe,CAAC,CAAC,EAAE,KAAK,EAAE,EACpC,SAAS,CACZ,CAAC;IAEF,OAAO,CACH,4BAAK,GAAG,EAAE,GAAG,IAAM,SAAS,IAAE,SAAS,EAAE,gBAAgB,YACpD,QAAQ,IACP,CACT,CAAC;AACN,CAAC,CACJ,CAAC"}
1
+ {"version":3,"file":"container.js","sourceRoot":"","sources":["../../src/container/container.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,MAAM,MAAM,wBAAwB,CAAC;AAC5C,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAQhD,MAAM,CAAC,MAAM,SAAS,GAAG,UAAU,CAC/B,CAAC,EAAyD,EAAE,GAAG,EAAE,EAAE;QAAlE,EAAE,IAAI,GAAG,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,OAAgB,EAAX,SAAS,cAAvD,0CAAyD,CAAF;IACpD,MAAM,gBAAgB,GAAG,UAAU,CAC/B,YAAY,CAAC,aAAa,EAC1B,EAAE,CAAC,YAAY,CAAC,KAAe,CAAC,CAAC,EAAE,KAAK,EAAE,EAC1C,MAAM,CAAC,SAAS,EAChB,MAAM,CAAC,IAAI,CAAC,EACZ,SAAS,CACZ,CAAC;IAEF,OAAO,CACH,4BAAK,GAAG,EAAE,GAAG,IAAM,SAAS,IAAE,SAAS,EAAE,gBAAgB,YACpD,QAAQ,IACP,CACT,CAAC;AACN,CAAC,CACJ,CAAC"}
@@ -1,15 +1,8 @@
1
1
  .container {
2
- display: flex;
3
- flex-direction: column;
4
- width: 100%;
5
2
  padding: 2rem;
6
3
  gap: 2rem;
7
4
  margin-right: auto;
8
5
  margin-left: auto;
9
- box-sizing: border-box;
10
- }
11
- .container > :global(.allowFullWidth) {
12
- width: 100%;
13
6
  }
14
7
 
15
8
  .container.xs {
@@ -27,19 +20,3 @@
27
20
  .container.xl {
28
21
  max-width: 150rem;
29
22
  }
30
-
31
- .start {
32
- justify-content: flex-start;
33
- align-content: flex-start;
34
- align-items: flex-start;
35
- }
36
- .center {
37
- justify-content: center;
38
- align-content: center;
39
- align-items: center;
40
- }
41
- .end {
42
- justify-content: flex-end;
43
- align-content: flex-end;
44
- align-items: flex-end;
45
- }
@@ -15,7 +15,7 @@ import classNames from "classnames";
15
15
  import styles from "./display.module.css";
16
16
  export const Display = forwardRef((_a, ref) => {
17
17
  var { minWidth, maxWidth, className, children } = _a, restProps = __rest(_a, ["minWidth", "maxWidth", "className", "children"]);
18
- const joinedClassNames = classNames("allowFullWidth", { [styles[`${minWidth}MinWidth`]]: minWidth }, { [styles[`${maxWidth}MaxWidth`]]: maxWidth }, className);
18
+ const joinedClassNames = classNames("fullWidthLover", { [styles[`${minWidth}MinWidth`]]: minWidth }, { [styles[`${maxWidth}MaxWidth`]]: maxWidth }, className);
19
19
  return (_jsx("div", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
20
20
  });
21
21
  //# sourceMappingURL=display.js.map
@@ -3,10 +3,13 @@
3
3
  min-height: 6rem;
4
4
  padding-left: 2rem;
5
5
  padding-right: 2rem;
6
+ gap: 1rem;
6
7
  z-index: 1;
7
8
  background: rgb(var(--surfaceContainerColor, 243 237 247));
8
9
  color: rgb(var(--onSurfaceColor, 28 27 31));
9
10
  fill: rgb(var(--onSurfaceColor, 28 27 31));
11
+ transition: transform 0.3s ease;
12
+ will-change: transform;
10
13
  user-select: none;
11
14
  }
12
15
 
@@ -13,9 +13,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { forwardRef } from "react";
14
14
  import classNames from "classnames";
15
15
  import styles from "./gridItem.module.css";
16
+ import boxingStyles from "../boxing.module.css";
16
17
  export const GridItem = forwardRef((_a, ref) => {
17
18
  var { align, xs, sm, md, lg, xl, className, children } = _a, restProps = __rest(_a, ["align", "xs", "sm", "md", "lg", "xl", "className", "children"]);
18
- const joinedClassNames = classNames(styles.gridItem, { [styles[align]]: align }, { [styles[`xs${xs}`]]: xs }, { [styles[`sm${sm}`]]: sm }, { [styles[`md${md}`]]: md }, { [styles[`lg${lg}`]]: lg }, { [styles[`xl${xl}`]]: xl }, className);
19
+ const joinedClassNames = classNames(boxingStyles.flexColumnBox, { [boxingStyles[align]]: align }, { [styles[`xs${xs}`]]: xs }, { [styles[`sm${sm}`]]: sm }, { [styles[`md${md}`]]: md }, { [styles[`lg${lg}`]]: lg }, { [styles[`xl${xl}`]]: xl }, className);
19
20
  return (_jsx("div", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
20
21
  });
21
22
  //# sourceMappingURL=gridItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"gridItem.js","sourceRoot":"","sources":["../../src/gridItem/gridItem.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAa3C,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,CAC9B,CAAC,EAAgE,EAAE,GAAG,EAAE,EAAE;QAAzE,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,QAAQ,OAAgB,EAAX,SAAS,cAA9D,gEAAgE,CAAF;IAC3D,MAAM,gBAAgB,GAAG,UAAU,CAC/B,MAAM,CAAC,QAAQ,EACf,EAAE,CAAC,MAAM,CAAC,KAAe,CAAC,CAAC,EAAE,KAAK,EAAE,EACpC,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,EAC3B,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,EAC3B,EAAE,CAAC,MAAM,CAAC,KAAK,EAA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M,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,EAC3B,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,EAC3B,SAAS,CACZ,CAAC;IAEF,OAAO,CACH,4BAAK,GAAG,EAAE,GAAG,IAAM,SAAS,IAAE,SAAS,EAAE,gBAAgB,YACpD,QAAQ,IACP,CACT,CAAC;AACN,CAAC,CACJ,CAAC"}
@@ -1,27 +1,3 @@
1
- .gridItem {
2
- display: flex;
3
- flex-direction: column;
4
- }
5
- .gridItem > :global(.allowFullWidth) {
6
- width: 100%;
7
- }
8
-
9
- .start {
10
- justify-content: flex-start;
11
- align-content: flex-start;
12
- align-items: flex-start;
13
- }
14
- .center {
15
- justify-content: center;
16
- align-content: center;
17
- align-items: center;
18
- }
19
- .end {
20
- justify-content: flex-end;
21
- align-content: flex-end;
22
- align-items: flex-end;
23
- }
24
-
25
1
  .xl1 {
26
2
  grid-column: span 1;
27
3
  }
package/dist/index.d.ts CHANGED
@@ -1,31 +1,30 @@
1
+ export * from "./screen/screen";
1
2
  export * from "./appBar/appBar";
2
- export * from "./button/button";
3
- export * from "./card/card";
4
- export * from "./checkBox/checkBox";
5
- export * from "./clickOutsideListener/clickOutsideListener";
6
- export * from "./codeBox/codeBox";
7
- export * from "./codeField/codeField";
8
- export * from "./container/container";
9
- export * from "./display/display";
3
+ export * from "./main/main";
10
4
  export * from "./footer/footer";
5
+ export * from "./navigation/navigation";
6
+ export * from "./container/container";
7
+ export * from "./stack/stack";
8
+ export * from "./row/row";
11
9
  export * from "./gridContainer/gridContainer";
12
10
  export * from "./gridItem/gridItem";
11
+ export * from "./card/card";
12
+ export * from "./theme/theme";
13
+ export * from "./spacer/spacer";
13
14
  export * from "./hr/hr";
14
- export * from "./inputField/inputField";
15
15
  export * from "./list/list";
16
16
  export * from "./listItem/listItem";
17
+ export * from "./table/table";
18
+ export * from "./button/button";
17
19
  export * from "./loading/loading";
18
- export * from "./main/main";
19
- export * from "./navigation/navigation";
20
- export * from "./popup/popup";
21
- export * from "./radioButton/radioButton";
22
- export * from "./radioGroup/radioGroup";
23
- export * from "./row/row";
24
- export * from "./screen/screen";
25
- export * from "./select/select";
26
- export * from "./spacer/spacer";
27
- export * from "./stack/stack";
28
20
  export * from "./svgIcon/svgIcon";
29
- export * from "./table/table";
30
21
  export * from "./text/text";
31
- export * from "./theme/theme";
22
+ export * from "./inputField/inputField";
23
+ export * from "./select/select";
24
+ export * from "./checkBox/checkBox";
25
+ export * from "./codeField/codeField";
26
+ export * from "./radioGroup/radioGroup";
27
+ export * from "./radioButton/radioButton";
28
+ export * from "./codeBox/codeBox";
29
+ export * from "./display/display";
30
+ export * from "./clickOutsideListener/clickOutsideListener";
package/dist/index.js CHANGED
@@ -1,32 +1,36 @@
1
+ // Layout & Structure
2
+ export * from "./screen/screen";
1
3
  export * from "./appBar/appBar";
2
- export * from "./button/button";
3
- export * from "./card/card";
4
- export * from "./checkBox/checkBox";
5
- export * from "./clickOutsideListener/clickOutsideListener";
6
- export * from "./codeBox/codeBox";
7
- export * from "./codeField/codeField";
8
- export * from "./container/container";
9
- export * from "./display/display";
4
+ export * from "./main/main";
10
5
  export * from "./footer/footer";
6
+ export * from "./navigation/navigation";
7
+ export * from "./container/container";
8
+ export * from "./stack/stack";
9
+ export * from "./row/row";
11
10
  export * from "./gridContainer/gridContainer";
12
11
  export * from "./gridItem/gridItem";
12
+ export * from "./card/card";
13
+ // Theme & Styling
14
+ export * from "./theme/theme";
15
+ export * from "./spacer/spacer";
13
16
  export * from "./hr/hr";
14
- export * from "./inputField/inputField";
17
+ // UI Components
15
18
  export * from "./list/list";
16
19
  export * from "./listItem/listItem";
20
+ export * from "./table/table";
21
+ export * from "./button/button";
17
22
  export * from "./loading/loading";
18
- export * from "./main/main";
19
- export * from "./navigation/navigation";
20
- export * from "./popup/popup";
21
- export * from "./radioButton/radioButton";
22
- export * from "./radioGroup/radioGroup";
23
- export * from "./row/row";
24
- export * from "./screen/screen";
25
- export * from "./select/select";
26
- export * from "./spacer/spacer";
27
- export * from "./stack/stack";
28
23
  export * from "./svgIcon/svgIcon";
29
- export * from "./table/table";
30
24
  export * from "./text/text";
31
- export * from "./theme/theme";
25
+ // Form Components
26
+ export * from "./inputField/inputField";
27
+ export * from "./select/select";
28
+ export * from "./checkBox/checkBox";
29
+ export * from "./codeField/codeField";
30
+ export * from "./radioGroup/radioGroup";
31
+ export * from "./radioButton/radioButton";
32
+ export * from "./codeBox/codeBox";
33
+ // Utilities
34
+ export * from "./display/display";
35
+ export * from "./clickOutsideListener/clickOutsideListener";
32
36
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,6CAA6C,CAAC;AAC5D,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qBAAqB;AACrB,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,kBAAkB;AAClB,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,gBAAgB;AAChB,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,kBAAkB;AAClB,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,YAAY;AACZ,cAAc,mBAAmB,CAAC;AAClC,cAAc,6CAA6C,CAAC"}
@@ -17,6 +17,6 @@ import styles from "./inputField.module.css";
17
17
  export const InputField = forwardRef((_a, ref) => {
18
18
  var { variant = "outlined", boxsize = "normal", placeholder, className } = _a, restProps = __rest(_a, ["variant", "boxsize", "placeholder", "className"]);
19
19
  const joinedClassNames = classNames(styles.input, styles[variant], styles[boxsize], placeholder && styles.havePlaceHolder, className);
20
- return (_jsxs("div", { className: classNames("allowFullWidth", styles.div), children: [_jsx("input", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, placeholder: " " })), placeholder && (_jsx("label", { className: styles.label, children: placeholder }))] }));
20
+ return (_jsxs("div", { className: classNames("fullWidthLover", styles.div), children: [_jsx("input", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, placeholder: " " })), placeholder && (_jsx("label", { className: styles.label, children: placeholder }))] }));
21
21
  });
22
22
  //# sourceMappingURL=inputField.js.map
package/dist/list/list.js CHANGED
@@ -15,7 +15,7 @@ import classNames from "classnames";
15
15
  import styles from "./list.module.css";
16
16
  export const List = forwardRef((_a, ref) => {
17
17
  var { direction = "row", collapsed, className, children } = _a, restProps = __rest(_a, ["direction", "collapsed", "className", "children"]);
18
- const joinedClassNames = classNames("allowFullWidth", styles.list, styles[direction], { [styles.collapsed]: collapsed }, className);
18
+ const joinedClassNames = classNames("fullWidthLover", styles.list, styles[direction], { [styles.collapsed]: collapsed }, className);
19
19
  return (_jsx("ul", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
20
20
  });
21
21
  //# sourceMappingURL=list.js.map
@@ -1,2 +1,4 @@
1
- export type ListItemProps = React.HTMLAttributes<HTMLLIElement>;
1
+ export interface ListItemProps extends React.HTMLAttributes<HTMLLIElement> {
2
+ align?: "start" | "center" | "end";
3
+ }
2
4
  export declare const ListItem: import("react").ForwardRefExoticComponent<ListItemProps & import("react").RefAttributes<HTMLLIElement>>;
@@ -13,8 +13,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { forwardRef } from "react";
14
14
  import classNames from "classnames";
15
15
  import styles from "./listItem.module.css";
16
+ import boxingStyles from "../boxing.module.css";
16
17
  export const ListItem = forwardRef((_a, ref) => {
17
- var { className, children } = _a, restProps = __rest(_a, ["className", "children"]);
18
- return (_jsx("li", Object.assign({ ref: ref }, restProps, { className: classNames(styles.listItem, className), children: children })));
18
+ var { align, className, children } = _a, restProps = __rest(_a, ["align", "className", "children"]);
19
+ return (_jsx("li", Object.assign({ ref: ref }, restProps, { className: classNames(boxingStyles.flexColumnBox, { [boxingStyles[align]]: align }, styles.listItem, className), children: children })));
19
20
  });
20
21
  //# sourceMappingURL=listItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"listItem.js","sourceRoot":"","sources":["../../src/listItem/listItem.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAI3C,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,CAC9B,CAAC,EAAqC,EAAE,GAAG,EAAE,EAAE;QAA9C,EAAE,SAAS,EAAE,QAAQ,OAAgB,EAAX,SAAS,cAAnC,yBAAqC,CAAF;IAChC,OAAO,CACH,2BACI,GAAG,EAAE,GAAG,IACJ,SAAS,IACb,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,QAAQ,EAAE,SAAS,CAAC,YAEhD,QAAQ,IACR,CACR,CAAC;AACN,CAAC,CACJ,CAAC"}
1
+ {"version":3,"file":"listItem.js","sourceRoot":"","sources":["../../src/listItem/listItem.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,MAAM,MAAM,uBAAuB,CAAC;AAC3C,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAMhD,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,CAC9B,CAAC,EAA4C,EAAE,GAAG,EAAE,EAAE;QAArD,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,OAAgB,EAAX,SAAS,cAA1C,kCAA4C,CAAF;IACvC,OAAO,CACH,2BACI,GAAG,EAAE,GAAG,IACJ,SAAS,IACb,SAAS,EAAE,UAAU,CACjB,YAAY,CAAC,aAAa,EAC1B,EAAE,CAAC,YAAY,CAAC,KAAe,CAAC,CAAC,EAAE,KAAK,EAAE,EAC1C,MAAM,CAAC,QAAQ,EACf,SAAS,CACZ,YAEA,QAAQ,IACR,CACR,CAAC;AACN,CAAC,CACJ,CAAC"}
@@ -1,9 +1,3 @@
1
1
  .listItem {
2
- display: flex;
3
- flex-direction: column;
4
2
  align-items: stretch;
5
- box-sizing: border-box;
6
- }
7
- .listItem > :global(.allowFullWidth) {
8
- width: 100%;
9
3
  }
package/dist/main/main.js CHANGED
@@ -13,9 +13,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { forwardRef } from "react";
14
14
  import classNames from "classnames";
15
15
  import styles from "./main.module.css";
16
+ import boxingStyles from "../boxing.module.css";
16
17
  export const Main = forwardRef((_a, ref) => {
17
18
  var { align, navopen = false, className, children } = _a, restProps = __rest(_a, ["align", "navopen", "className", "children"]);
18
- const joinedClassNames = classNames(styles.main, { [styles[align]]: align }, { [styles.navOpen]: navopen }, className);
19
+ const joinedClassNames = classNames(boxingStyles.flexColumnBox, { [boxingStyles[align]]: align }, styles.main, { [styles.navOpen]: navopen }, className);
19
20
  return (_jsx("main", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
20
21
  });
21
22
  //# sourceMappingURL=main.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"main.js","sourceRoot":"","sources":["../../src/main/main.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAQvC,MAAM,CAAC,MAAM,IAAI,GAAG,UAAU,CAC1B,CAAC,EAA6D,EAAE,GAAG,EAAE,EAAE;QAAtE,EAAE,KAAK,EAAE,OAAO,GAAG,KAAK,EAAE,SAAS,EAAE,QAAQ,OAAgB,EAAX,SAAS,cAA3D,6CAA6D,CAAF;IACxD,MAAM,gBAAgB,GAAG,UAAU,CAC/B,MAAM,CAAC,IAAI,EACX,EAAE,CAAC,MAAM,CAAC,KAAe,CAAC,CAAC,EAAE,KAAK,EAAE,EACpC,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,EAC7B,SAAS,CACZ,CAAC;IAEF,OAAO,CACH,6BAAM,GAAG,EAAE,GAAG,IAAM,SAAS,IAAE,SAAS,EAAE,gBAAgB,YACrD,QAAQ,IACN,CACV,CAAC;AACN,CAAC,CACJ,CAAC"}
1
+ {"version":3,"file":"main.js","sourceRoot":"","sources":["../../src/main/main.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAQhD,MAAM,CAAC,MAAM,IAAI,GAAG,UAAU,CAC1B,CAAC,EAA6D,EAAE,GAAG,EAAE,EAAE;QAAtE,EAAE,KAAK,EAAE,OAAO,GAAG,KAAK,EAAE,SAAS,EAAE,QAAQ,OAAgB,EAAX,SAAS,cAA3D,6CAA6D,CAAF;IACxD,MAAM,gBAAgB,GAAG,UAAU,CAC/B,YAAY,CAAC,aAAa,EAC1B,EAAE,CAAC,YAAY,CAAC,KAAe,CAAC,CAAC,EAAE,KAAK,EAAE,EAC1C,MAAM,CAAC,IAAI,EACX,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,EAC7B,SAAS,CACZ,CAAC;IAEF,OAAO,CACH,6BAAM,GAAG,EAAE,GAAG,IAAM,SAAS,IAAE,SAAS,EAAE,gBAAgB,YACrD,QAAQ,IACN,CACV,CAAC;AACN,CAAC,CACJ,CAAC"}
@@ -1,14 +1,7 @@
1
1
  .main {
2
- display: flex;
3
- flex-direction: column;
4
- width: 100%;
5
2
  align-self: flex-end;
6
3
  flex-grow: 1;
7
4
  transition: width 0.3s;
8
- box-sizing: border-box;
9
- }
10
- .main > :global(.allowFullWidth) {
11
- width: 100%;
12
5
  }
13
6
 
14
7
  .navOpen {
@@ -20,19 +13,3 @@
20
13
  max-width: initial;
21
14
  }
22
15
  }
23
-
24
- .start {
25
- justify-content: flex-start;
26
- align-content: flex-start;
27
- align-items: flex-start;
28
- }
29
- .center {
30
- justify-content: center;
31
- align-content: center;
32
- align-items: center;
33
- }
34
- .end {
35
- justify-content: flex-end;
36
- align-content: flex-end;
37
- align-items: flex-end;
38
- }
@@ -1,4 +1,5 @@
1
1
  export interface NavigationProps extends React.HTMLAttributes<HTMLElement> {
2
+ align?: "start" | "center" | "end";
2
3
  anchor?: "left" | "right" | "top" | "bottom" | "auto";
3
4
  open: boolean;
4
5
  children?: React.ReactNode;
@@ -13,9 +13,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { forwardRef } from "react";
14
14
  import classNames from "classnames";
15
15
  import styles from "./navigation.module.css";
16
+ import boxingStyles from "../boxing.module.css";
16
17
  export const Navigation = forwardRef((_a, ref) => {
17
- var { anchor = "auto", open = false, className, children } = _a, restProps = __rest(_a, ["anchor", "open", "className", "children"]);
18
- const joinedClassNames = classNames(styles.navigation, styles[anchor], {
18
+ var { align, anchor = "auto", open = false, className, children } = _a, restProps = __rest(_a, ["align", "anchor", "open", "className", "children"]);
19
+ const joinedClassNames = classNames(boxingStyles.flexColumnBox, { [boxingStyles[align]]: align }, styles.navigation, styles[anchor], {
19
20
  [styles.open]: open,
20
21
  });
21
22
  return (_jsx("nav", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
@@ -1 +1 @@
1
- {"version":3,"file":"navigation.js","sourceRoot":"","sources":["../../src/navigation/navigation.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,MAAM,MAAM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ACH,4BAAK,GAAG,EAAE,GAAG,IAAM,SAAS,IAAE,SAAS,EAAE,gBAAgB,YACpD,QAAQ,IACP,CACT,CAAC;AACN,CAAC,CACJ,CAAC"}
@@ -1,10 +1,7 @@
1
1
  .navigation {
2
2
  position: fixed;
3
- display: flex;
4
- flex-direction: column;
5
3
  max-width: 100%;
6
4
  padding: 1rem 0;
7
- box-sizing: border-box;
8
5
  z-index: 3;
9
6
  background: rgb(var(--surfaceContainerColor, 243 237 247));
10
7
  color: rgb(var(--onSurfaceColor, 28 27 31));
@@ -12,9 +9,6 @@
12
9
  transition: transform 0.3s;
13
10
  overflow-y: auto;
14
11
  }
15
- .navigation > :global(.allowFullWidth) {
16
- width: 100%;
17
- }
18
12
 
19
13
  .auto,
20
14
  .left {
package/dist/row/row.js CHANGED
@@ -16,7 +16,7 @@ import styles from "./row.module.css";
16
16
  import boxingStyles from "../boxing.module.css";
17
17
  export const Row = forwardRef((_a, ref) => {
18
18
  var { align, overflow = "shrink", size = "xl", className, children } = _a, restProps = __rest(_a, ["align", "overflow", "size", "className", "children"]);
19
- const joinedClassNames = classNames(boxingStyles.flexRowBox, { [boxingStyles[align]]: align }, boxingStyles[overflow], overflow === "shrink" && "allowFullWidth", styles[size], className);
19
+ const joinedClassNames = classNames(boxingStyles.flexRowBox, { [boxingStyles[align]]: align }, boxingStyles[overflow], styles.row, overflow === "shrink" && "fullWidthLover", styles[size], className);
20
20
  return (_jsx("div", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
21
21
  });
22
22
  //# sourceMappingURL=row.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"row.js","sourceRoot":"","sources":["../../src/row/row.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,MAAM,MAAM,kBAAkB,CAAC;AACtC,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAShD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AAQ,IAAI,gBAAgB,EACzC,MAAM,CAAC,IAAI,CAAC,EACZ,SAAS,CACZ,CAAC;IAEF,OAAO,CACH,4BAAK,GAAG,EAAE,GAAG,IAAM,SAAS,IAAE,SAAS,EAAE,gBAAgB,YACpD,QAAQ,IACP,CACT,CAAC;AACN,CAAC,CACJ,CAAC"}
@@ -1,3 +1,7 @@
1
+ .row {
2
+ gap: 1rem;
3
+ }
4
+
1
5
  .row.xs {
2
6
  max-width: 44.4rem;
3
7
  }
@@ -13,9 +13,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { forwardRef } from "react";
14
14
  import classNames from "classnames";
15
15
  import styles from "./screen.module.css";
16
+ import boxingStyles from "../boxing.module.css";
16
17
  export const Screen = forwardRef((_a, ref) => {
17
18
  var { align, className, children } = _a, restProps = __rest(_a, ["align", "className", "children"]);
18
- const joinedClassNames = classNames(styles.screen, { [styles[align]]: align }, className);
19
+ const joinedClassNames = classNames(boxingStyles.flexColumnBox, { [boxingStyles[align]]: align }, styles.screen, className);
19
20
  return (_jsx("div", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
20
21
  });
21
22
  //# sourceMappingURL=screen.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"screen.js","sourceRoot":"","sources":["../../src/screen/screen.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,MAAM,MAAM,qBAAqB,CAAC;AAOzC,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,CAC5B,CAAC,EAA4C,EAAE,GAAG,EAAE,EAAE;QAArD,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,OAAgB,EAAX,SAAS,cAA1C,kCAA4C,CAAF;IACvC,MAAM,gBAAgB,GAAG,UAAU,CAC/B,MAAM,CAAC,MAAM,EACb,EAAE,CAAC,MAAM,CAAC,KAAe,CAAC,CAAC,EAAE,KAAK,EAAE,EACpC,SAAS,CACZ,CAAC;IAEF,OAAO,CACH,4BAAK,GAAG,EAAE,GAAG,IAAM,SAAS,IAAE,SAAS,EAAE,gBAAgB,YACpD,QAAQ,IACP,CACT,CAAC;AACN,CAAC,CACJ,CAAC"}
1
+ {"version":3,"file":"screen.js","sourceRoot":"","sources":["../../src/screen/screen.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAOhD,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,CAC5B,CAAC,EAA4C,EAAE,GAAG,EAAE,EAAE;QAArD,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,OAAgB,EAAX,SAAS,cAA1C,kCAA4C,CAAF;IACvC,MAAM,gBAAgB,GAAG,UAAU,CAC/B,YAAY,CAAC,aAAa,EAC1B,EAAE,CAAC,YAAY,CAAC,KAAe,CAAC,CAAC,EAAE,KAAK,EAAE,EAC1C,MAAM,CAAC,MAAM,EACb,SAAS,CACZ,CAAC;IAEF,OAAO,CACH,4BAAK,GAAG,EAAE,GAAG,IAAM,SAAS,IAAE,SAAS,EAAE,gBAAgB,YACpD,QAAQ,IACP,CACT,CAAC;AACN,CAAC,CACJ,CAAC"}
@@ -1,29 +1,6 @@
1
1
  .screen {
2
- display: flex;
3
- flex-direction: column;
4
- width: 100%;
5
2
  min-height: 100vh;
6
- box-sizing: border-box;
7
3
  background: rgb(var(--surfaceColor, 254 247 255));
8
4
  color: rgb(var(--onSurfaceColor, 28 27 31));
9
5
  fill: rgb(var(--onSurfaceColor, 28 27 31));
10
6
  }
11
- .screen > :global(.allowFullWidth) {
12
- width: 100%;
13
- }
14
-
15
- .start {
16
- justify-content: flex-start;
17
- align-content: flex-start;
18
- align-items: flex-start;
19
- }
20
- .center {
21
- justify-content: center;
22
- align-content: center;
23
- align-items: center;
24
- }
25
- .end {
26
- justify-content: flex-end;
27
- align-content: flex-end;
28
- align-items: flex-end;
29
- }
@@ -18,6 +18,6 @@ import inputStyles from "../inputField/inputField.module.css";
18
18
  export const Select = forwardRef((_a, ref) => {
19
19
  var { variant = "outlined", boxsize = "normal", placeholder, className, children } = _a, restProps = __rest(_a, ["variant", "boxsize", "placeholder", "className", "children"]);
20
20
  const joinedClassNames = classNames(styles.select, inputStyles.input, inputStyles[variant], inputStyles[boxsize], { [inputStyles.havePlaceHolder]: placeholder }, className);
21
- return (_jsxs("div", { className: classNames("allowFullWidth", inputStyles.div), children: [_jsx("select", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })), placeholder ? (_jsx("label", { className: inputStyles.label, children: placeholder })) : null] }));
21
+ return (_jsxs("div", { className: classNames("fullWidthLover", inputStyles.div), children: [_jsx("select", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })), placeholder ? (_jsx("label", { className: inputStyles.label, children: placeholder })) : null] }));
22
22
  });
23
23
  //# sourceMappingURL=select.js.map
@@ -13,9 +13,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { forwardRef } from "react";
14
14
  import classNames from "classnames";
15
15
  import styles from "./stack.module.css";
16
+ import boxingStyles from "../boxing.module.css";
16
17
  export const Stack = forwardRef((_a, ref) => {
17
18
  var { align, className, children } = _a, restProps = __rest(_a, ["align", "className", "children"]);
18
- const joinedClassNames = classNames("allowFullWidth", styles.stack, { [styles[align]]: align }, className);
19
+ const joinedClassNames = classNames(boxingStyles.flexColumnBox, { [boxingStyles[align]]: align }, "fullWidthLover", styles.stack, className);
19
20
  return (_jsx("div", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
20
21
  });
21
22
  //# sourceMappingURL=stack.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stack.js","sourceRoot":"","sources":["../../src/stack/stack.tsx"],"names":[],"mappings":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BAAK,GAAG,EAAE,GAAG,IAAM,SAAS,IAAE,SAAS,EAAE,gBAAgB,YACpD,QAAQ,IACP,CACT,CAAC;AACN,CAAC,CACJ,CAAC"}
@@ -1,25 +1,3 @@
1
1
  .stack {
2
- display: flex;
3
- flex-direction: column;
4
2
  gap: 2rem;
5
- box-sizing: border-box;
6
- }
7
- .stack > :global(.allowFullWidth) {
8
- width: 100%;
9
- }
10
-
11
- .start {
12
- justify-content: flex-start;
13
- align-content: flex-start;
14
- align-items: flex-start;
15
- }
16
- .center {
17
- justify-content: center;
18
- align-content: center;
19
- align-items: center;
20
- }
21
- .end {
22
- justify-content: flex-end;
23
- align-content: flex-end;
24
- align-items: flex-end;
25
3
  }
@@ -15,7 +15,7 @@ import classNames from "classnames";
15
15
  import styles from "./table.module.css";
16
16
  export const Table = forwardRef((_a, ref) => {
17
17
  var { className, children } = _a, restProps = __rest(_a, ["className", "children"]);
18
- const joinedClassNames = classNames("allowFullWidth", styles.table, className);
18
+ const joinedClassNames = classNames("fullWidthLover", styles.table, className);
19
19
  return (_jsx("table", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
20
20
  });
21
21
  export const Thead = forwardRef((_a, ref) => {
@@ -2,6 +2,7 @@ import "./globals.css";
2
2
  export type DarkStyle = "light" | "dark" | "system";
3
3
  export type ThemeColor = "green" | "red" | "yellow" | "blue" | "purple";
4
4
  export interface ThemeProps extends React.HTMLAttributes<HTMLDivElement> {
5
+ align?: "start" | "center" | "end";
5
6
  darkstyle?: DarkStyle;
6
7
  color?: ThemeColor;
7
8
  zoom?: number;
@@ -14,13 +14,14 @@ import { forwardRef, useEffect } from "react";
14
14
  import classNames from "classnames";
15
15
  import "./globals.css";
16
16
  import styles from "./theme.module.css";
17
+ import boxingStyles from "../boxing.module.css";
17
18
  export const Theme = forwardRef((_a, ref) => {
18
- var { darkstyle = "system", color = "blue", zoom = 100, className, children } = _a, restProps = __rest(_a, ["darkstyle", "color", "zoom", "className", "children"]);
19
+ var { align, darkstyle = "system", color = "blue", zoom = 100, className, children } = _a, restProps = __rest(_a, ["align", "darkstyle", "color", "zoom", "className", "children"]);
19
20
  const zoomPercentage = zoom ? (zoom / 100) * 62.5 : 62.5;
20
21
  useEffect(() => {
21
22
  document.documentElement.style.setProperty("font-size", zoomPercentage + "%");
22
23
  }, [zoomPercentage]);
23
- const joinedClassNames = classNames(styles.theme, styles[darkstyle], styles[color], className);
24
+ const joinedClassNames = classNames(boxingStyles.flexColumnBox, { [boxingStyles[align]]: align }, styles.theme, styles[darkstyle], styles[color], className);
24
25
  return (_jsx("div", Object.assign({ ref: ref }, restProps, { className: joinedClassNames, children: children })));
25
26
  });
26
27
  //# sourceMappingURL=theme.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"theme.js","sourceRoot":"","sources":["../../src/theme/theme.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,UAAU,MAAM,YAAY,CAAC;AAEpC,OAAO,eAAe,CAAC;AACvB,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAWxC,MAAM,CAAC,MAAM,KAAK,GAAG,UAAU,CAC3B,CACI,EAOC,EACD,GAAG,EACL,EAAE;QATA,EACI,SAAS,GAAG,QAAQ,EACpB,KAAK,GAAG,MAAM,EACd,IAAI,GAAG,GAAG,EACV,SAAS,EACT,QAAQ,OAEX,EADM,SAAS,cANhB,uDAOC,CADe;IAIhB,MAAM,cAAc,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IAEzD,SAAS,CAAC,GAAG,EAAE;QACX,QAAQ,CAAC,eAAe,CAAC,KAAK,CAAC,WAAW,CACtC,WAAW,EACX,cAAc,GAAG,GAAG,CACvB,CAAC;IACN,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC;IAErB,MAAM,gBAAgB,G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AS,CAAC,EACjB,MAAM,CAAC,KAAK,CAAC,EACb,SAAS,CACZ,CAAC;IAEF,OAAO,CACH,4BAAK,GAAG,EAAE,GAAG,IAAM,SAAS,IAAE,SAAS,EAAE,gBAAgB,YACpD,QAAQ,IACP,CACT,CAAC;AACN,CAAC,CACJ,CAAC"}
@@ -1,12 +1,7 @@
1
1
  .theme {
2
- display: flex;
3
- flex-direction: column;
4
2
  font-family: sans-serif;
5
3
  font-size: 1.6rem;
6
4
  }
7
- .theme > :global(.allowFullWidth) {
8
- width: 100%;
9
- }
10
5
 
11
6
  .blue {
12
7
  --LightPrimaryColor: 11 87 208;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yakad/ui",
3
- "version": "1.3.73",
3
+ "version": "1.3.75",
4
4
  "private": false,
5
5
  "author": "Natiq",
6
6
  "description": "UI components for NextJS/React",
@@ -23,7 +23,7 @@
23
23
  "homepage": "https://yakad.natiq.net",
24
24
  "scripts": {
25
25
  "clean": "rimraf dist/",
26
- "copy-files": "copyfiles -u 1 src/**/*.css dist/",
26
+ "copy-files": "copyfiles -u 1 src/*.css src/**/*.css dist/",
27
27
  "build": "npm run clean && tsc && npm run copy-files",
28
28
  "prepublishOnly": "cp ../../README.md ../../LICENSE ./"
29
29
  },
@@ -1,7 +0,0 @@
1
- export interface PopupProps {
2
- align?: "start" | "center" | "end";
3
- heading?: string;
4
- onclosebuttonclick?: () => void;
5
- children?: React.ReactNode;
6
- }
7
- export declare const Popup: import("react").ForwardRefExoticComponent<Omit<PopupProps, "className" | "style"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,22 +0,0 @@
1
- var __rest = (this && this.__rest) || function (s, e) {
2
- var t = {};
3
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
- t[p] = s[p];
5
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
- t[p[i]] = s[p[i]];
9
- }
10
- return t;
11
- };
12
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
- import { forwardRef } from "react";
14
- import { Button, Card, ClickOutsideListener, Row, Spacer, Stack, Text, } from "../";
15
- import Symbol from "@yakad/symbols";
16
- import styles from "./popup.module.css";
17
- export const Popup = forwardRef((_a, ref) => {
18
- var { align, heading, onclosebuttonclick, children } = _a, restProps = __rest(_a, ["align", "heading", "onclosebuttonclick", "children"]);
19
- return (_jsx("div", { className: styles.popupscreen, children: _jsx(ClickOutsideListener, { onclickoutside: onclosebuttonclick, className: styles.popup, children: _jsxs(Card, Object.assign({ ref: ref }, restProps, { children: [_jsxs(Row, { style: { marginBottom: "2rem" }, children: [_jsx(Text, { variant: "heading4", children: heading }), _jsx(Spacer, {}), _jsx(Button, { title: "Close", icon: _jsx(Symbol, { icon: "close" }), onClick: onclosebuttonclick })] }), _jsx(Stack, { align: align, style: { width: "100%", overflowY: "auto" }, children: children })] })) }) }));
20
- });
21
- Popup.displayName = "Popup";
22
- //# sourceMappingURL=popup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"popup.js","sourceRoot":"","sources":["../../src/popup/popup.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EACH,MAAM,EACN,IAAI,EACJ,oBAAoB,EACpB,GAAG,EACH,MAAM,EACN,KAAK,EACL,IAAI,GACP,MAAM,KAAK,CAAC;AACb,OAAO,MAAM,MAAM,gBAAgB,CAAC;AACpC,OAAO,MAAM,MAAM,oBAAoB,CAAC;AASxC,MAAM,CAAC,MAAM,KAAK,GAAG,UAAU,CAG7B,CAAC,EAA8D,EAAE,GAAG,EAAE,EAAE;QAAvE,EAAE,KAAK,EAAE,OAAO,EAAE,kBAAkB,EAAE,QAAQ,OAAgB,EAAX,SAAS,cAA5D,sDAA8D,CAAF;IAC3D,OAAO,CACH,cAAK,SAAS,EAAE,MAAM,CAAC,WAAW,YAC9B,KAAC,oBAAoB,IACjB,cAAc,EAAE,kBAAkB,EAClC,SAAS,EAAE,MAAM,CAAC,KAAK,YAEvB,MAAC,IAAI,kBAAC,GAAG,EAAE,GAAG,IAAM,SAAS,eACzB,MAAC,GAAG,IAAC,KAAK,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,aAChC,KAAC,IAAI,IAAC,OAAO,EAAC,UAAU,YAAE,OAAO,GAAQ,EACzC,KAAC,MAAM,KAAG,EACV,KAAC,MAAM,IACH,KAAK,EAAC,OAAO,EACb,IAAI,EAAE,KAAC,MAAM,IAAC,IAAI,EAAC,OAAO,GAAG,EAC7B,OAAO,EAAE,kBAAkB,GAC7B,IACA,EACN,KAAC,KAAK,IACF,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,YAE1C,QAAQ,GACL,KACL,GACY,GACrB,CACT,CAAC;AACN,CAAC,CAAC,CAAC;AAEH,KAAK,CAAC,WAAW,GAAG,OAAO,CAAC"}
@@ -1,20 +0,0 @@
1
- .popupscreen {
2
- position: fixed;
3
- top: 0;
4
- left: 0;
5
- right: 0;
6
- bottom: 0;
7
- display: flex;
8
- justify-content: center;
9
- align-items: center;
10
- background-color: rgba(var(--surfaceContainerColor, 243 237 247), 0.2);
11
- backdrop-filter: blur(0.2rem);
12
- z-index: 3;
13
- }
14
-
15
- .popup {
16
- width: 90%;
17
- max-width: 60rem;
18
- min-height: 10rem;
19
- max-height: 90vh;
20
- }