@code0-tech/pictor 0.6.0 → 0.6.2

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 (103) hide show
  1. package/LICENSE +1 -1
  2. package/dist/assets/components/command/Command.style.css +1 -1
  3. package/dist/assets/components/form/Input.style.css +1 -1
  4. package/dist/assets/components/gantt/Gantt.style.css +1 -0
  5. package/dist/assets/components/layout/Layout.style.css +1 -1
  6. package/dist/components/alert/Alert.d.ts +2 -2
  7. package/dist/components/alert/Alert.js +8 -7
  8. package/dist/components/avatar/Avatar.d.ts +2 -2
  9. package/dist/components/avatar/Avatar.js +30 -27
  10. package/dist/components/badge/Badge.d.ts +2 -2
  11. package/dist/components/badge/Badge.js +26 -23
  12. package/dist/components/breadcrumb/Breadcrumb.d.ts +2 -2
  13. package/dist/components/breadcrumb/Breadcrumb.js +16 -14
  14. package/dist/components/button/Button.d.ts +3 -3
  15. package/dist/components/button/Button.js +13 -12
  16. package/dist/components/button-group/ButtonGroup.d.ts +2 -2
  17. package/dist/components/button-group/ButtonGroup.js +23 -20
  18. package/dist/components/card/Card.d.ts +3 -3
  19. package/dist/components/card/Card.js +19 -16
  20. package/dist/components/card/CardSection.d.ts +2 -2
  21. package/dist/components/card/CardSection.js +16 -13
  22. package/dist/components/col/Col.d.ts +2 -2
  23. package/dist/components/col/Col.js +22 -19
  24. package/dist/components/command/Command.d.ts +12 -12
  25. package/dist/components/command/Command.js +95 -82
  26. package/dist/components/container/Container.d.ts +2 -2
  27. package/dist/components/container/Container.js +13 -10
  28. package/dist/components/context-menu/ContextMenu.d.ts +13 -13
  29. package/dist/components/context-menu/ContextMenu.js +26 -25
  30. package/dist/components/data-table/DataTable.d.ts +2 -2
  31. package/dist/components/data-table/DataTable.js +18 -17
  32. package/dist/components/data-table/DataTableColumn.d.ts +2 -2
  33. package/dist/components/data-table/DataTableColumn.js +12 -11
  34. package/dist/components/data-table/DataTableFilterInput.js +4 -3
  35. package/dist/components/dialog/Dialog.d.ts +12 -12
  36. package/dist/components/dialog/Dialog.js +24 -23
  37. package/dist/components/editor/Editor.d.ts +2 -2
  38. package/dist/components/editor/Editor.js +4 -3
  39. package/dist/components/file-tabs/FileTabs.d.ts +5 -5
  40. package/dist/components/file-tabs/FileTabs.js +38 -35
  41. package/dist/components/flex/Flex.d.ts +2 -2
  42. package/dist/components/flex/Flex.js +16 -13
  43. package/dist/components/form/CheckboxInput.js +17 -15
  44. package/dist/components/form/Input.d.ts +3 -3
  45. package/dist/components/form/Input.js +4 -3
  46. package/dist/components/form/PinInput.d.ts +3 -3
  47. package/dist/components/form/PinInput.js +33 -30
  48. package/dist/components/form/RadioGroup.js +22 -19
  49. package/dist/components/form/RadioInput.d.ts +2 -2
  50. package/dist/components/form/RadioInput.js +19 -16
  51. package/dist/components/fullscreen/FullScreen.d.ts +2 -2
  52. package/dist/components/fullscreen/FullScreen.js +8 -6
  53. package/dist/components/gantt/Gantt.d.ts +12 -0
  54. package/dist/components/gantt/Gantt.js +92 -0
  55. package/dist/components/gantt/GanttFooter.d.ts +2 -0
  56. package/dist/components/gantt/GanttFooter.js +38 -0
  57. package/dist/components/gantt/GanttGroup.d.ts +8 -0
  58. package/dist/components/gantt/GanttGroup.js +134 -0
  59. package/dist/components/gantt/GanttHeader.d.ts +10 -0
  60. package/dist/components/gantt/GanttHeader.js +55 -0
  61. package/dist/components/gantt/GanttItem.d.ts +16 -0
  62. package/dist/components/gantt/GanttItem.js +23 -0
  63. package/dist/components/layout/Layout.d.ts +3 -3
  64. package/dist/components/layout/Layout.js +37 -33
  65. package/dist/components/menu/Menu.d.ts +15 -15
  66. package/dist/components/menu/Menu.js +35 -32
  67. package/dist/components/resizable/Resizable.d.ts +4 -4
  68. package/dist/components/resizable/Resizable.js +18 -17
  69. package/dist/components/row/Row.d.ts +2 -2
  70. package/dist/components/row/Row.js +15 -12
  71. package/dist/components/scroll-area/ScrollArea.d.ts +6 -6
  72. package/dist/components/scroll-area/ScrollArea.js +35 -32
  73. package/dist/components/segmented-control/SegmentedControl.d.ts +3 -3
  74. package/dist/components/segmented-control/SegmentedControl.js +12 -11
  75. package/dist/components/spacing/Spacing.d.ts +3 -3
  76. package/dist/components/spacing/Spacing.js +12 -11
  77. package/dist/components/tab/Tab.d.ts +5 -5
  78. package/dist/components/tab/Tab.js +22 -21
  79. package/dist/components/text/Text.d.ts +3 -3
  80. package/dist/components/text/Text.js +14 -11
  81. package/dist/components/toast/Toast.d.ts +2 -2
  82. package/dist/components/toast/Toast.js +32 -31
  83. package/dist/components/tooltip/Tooltip.d.ts +6 -6
  84. package/dist/components/tooltip/Tooltip.js +34 -31
  85. package/dist/index.d.ts +1 -0
  86. package/dist/index.js +151 -152
  87. package/dist/utils/color.d.ts +4 -0
  88. package/dist/utils/color.js +43 -0
  89. package/dist/utils/component.d.ts +105 -0
  90. package/dist/utils/component.js +130 -0
  91. package/dist/utils/index.d.ts +3 -4
  92. package/dist/utils/index.js +14 -18
  93. package/dist/utils/size.d.ts +4 -0
  94. package/dist/utils/size.js +21 -0
  95. package/dist/utils/utils.d.ts +0 -55
  96. package/dist/utils/utils.js +1 -159
  97. package/package.json +3 -3
  98. package/dist/utils/nonReactiveArrayService.d.ts +0 -19
  99. package/dist/utils/nonReactiveArrayService.js +0 -54
  100. package/dist/utils/objectStore.d.ts +0 -12
  101. package/dist/utils/objectStore.js +0 -34
  102. package/dist/utils/types.d.ts +0 -57
  103. package/dist/utils/types.js +0 -4
package/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2023-2026 Code0 UG (haftungsbeschränkt) i.G.
1
+ Copyright 2023-2026 Code0 UG (haftungsbeschränkt)
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
4
 
@@ -1 +1 @@
1
- .command{z-index:100;display:flex;height:100%;width:100%;flex-direction:column;overflow:hidden;background:#070514;padding:.7rem}.command{background:#070514;box-shadow:inset 0 1px 1px #bfbfbf1a;border:none;color:#bfbfbfbf;position:relative;box-sizing:border-box;border-radius:1rem}.command__dialog{padding:0;box-shadow:none}.command__list:focus{outline:none}.command__list{max-height:300px;overflow-y:auto;overflow-x:hidden}.command__input.input:focus,.command .input.input:hover:focus,.command .input.input:active:focus,.command .input.input:focus:focus,.command .input.input:focus-within:focus,.command .input.input:not(:focus):focus{outline:none}.command__input.input,.command .input.input:hover,.command .input.input:active,.command .input.input:focus,.command .input.input:focus-within,.command .input.input:not(:focus){width:100%;border:none!important;outline:none!important;background:transparent;box-shadow:none!important;display:flex;height:2rem;color:#ffffffbf;font-size:.8rem;border-radius:.65rem}.command__input.input::placeholder,.command .input.input:hover::placeholder,.command .input.input:active::placeholder,.command .input.input:focus::placeholder,.command .input.input:focus-within::placeholder,.command .input.input:not(:focus)::placeholder{color:#ffffff40}.command__input.input .input__right,.command .input.input:hover .input__right,.command .input.input:active .input__right,.command .input.input:focus .input__right,.command .input.input:focus-within .input__right,.command .input.input:not(:focus) .input__right{padding-right:0}.command__empty{padding:1rem 0 1.3rem;text-align:center;font-size:.8rem;color:#ffffff80}.command__empty{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px}.command [cmdk-group-heading]{padding:.35rem .7rem}.command__group{overflow:hidden;text-transform:uppercase;font-size:.7rem;padding:.35rem 0 0;color:#ffffff80}.command__group{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px}.command__item{position:relative;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;font-size:.8rem;outline:none;color:#ffffffbf;border-radius:.65rem;padding:.35rem .35rem .35rem .8rem;gap:.7rem;text-transform:none}.command__item[data-disabled=true]{pointer-events:none;color:#ffffff40}.command__item[data-selected=true]{background:#201e2c;box-shadow:inset 0 1px 1px #ffffff1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box;box-shadow:none;width:100%}.command__item svg{pointer-events:none;width:1rem;height:1rem;flex-shrink:0}.command__separator{height:1px;margin:.35rem 0;background:#201e2c}.command__shortcut{margin-left:auto;font-size:.7rem;letter-spacing:.1rem;padding:0 .35rem;border-radius:.375rem!important;color:#ffffff80;background:#070514}
1
+ .command{display:flex;height:100%;width:100%;flex-direction:column;overflow:hidden;padding:.7rem;box-sizing:border-box}.command__dialog{padding:0}.command__list:focus{outline:none}.command__input.input:focus,.command .input.input:hover:focus,.command .input.input:active:focus,.command .input.input:focus:focus,.command .input.input:focus-within:focus,.command .input.input:not(:focus):focus{outline:none}.command__input.input,.command .input.input:hover,.command .input.input:active,.command .input.input:focus,.command .input.input:focus-within,.command .input.input:not(:focus){width:100%;border:none!important;outline:none!important;background:transparent;box-shadow:none!important;display:flex;height:2rem;color:#ffffffbf;font-size:.8rem;border-radius:.65rem}.command__input.input::placeholder,.command .input.input:hover::placeholder,.command .input.input:active::placeholder,.command .input.input:focus::placeholder,.command .input.input:focus-within::placeholder,.command .input.input:not(:focus)::placeholder{color:#ffffff40}.command__input.input .input__right,.command .input.input:hover .input__right,.command .input.input:active .input__right,.command .input.input:focus .input__right,.command .input.input:focus-within .input__right,.command .input.input:not(:focus) .input__right{padding-right:0}.command__empty{padding:1rem 0 1.3rem;text-align:center;font-size:.8rem;color:#ffffff80}.command__empty{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px}.command [cmdk-group-heading]{padding:.35rem .7rem}.command__group{overflow:hidden;text-transform:uppercase;font-size:.7rem;padding:.35rem 0 0;color:#ffffff80}.command__group{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px}.command__item{position:relative;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;font-size:.8rem;outline:none;color:#ffffffbf;border-radius:.65rem;padding:.35rem .35rem .35rem .8rem;gap:.7rem;text-transform:none}.command__item[data-disabled=true]{pointer-events:none;color:#ffffff40}.command__item[data-selected=true]{background:#201e2c;box-shadow:inset 0 1px 1px #ffffff1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box;width:100%}.command__item svg{pointer-events:none;width:1rem;height:1rem;flex-shrink:0}.command__separator{height:1px;margin:.35rem 0;background:#ffffff1a}.command__shortcut{margin-left:auto;font-size:.7rem;letter-spacing:.1rem;padding:0 .35rem;border-radius:.375rem!important;color:#ffffff80;background:#070514}
@@ -1 +1 @@
1
- .input{display:flex;z-index:1;align-items:center;box-sizing:border-box}.input{background:#201e2c;box-shadow:inset 0 1px 1px #ffffff1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box}.input:hover{background:#bfbfbf26;box-shadow:inset 0 1px 1px #ffffff1a}.input:active,.input:focus,.input[aria-selected=true],.input[data-state=open]{background:#bfbfbf33;box-shadow:inset 0 1px 1px #ffffff1a;outline:none}.input{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px;border-radius:1rem}.input:has(.input__control:focus),.input:has(.input__control[contenteditable=true]:focus){background:#bfbfbf33;box-shadow:inset 0 1px 1px #ffffff1a;outline:none}.input--not-valid{background:#1c0516;box-shadow:inset 0 1px 1px #d904291a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box}.input__left,.input__right{display:flex;align-items:stretch;margin:.175rem;gap:.7rem}.input__left>button,.input__right>button{height:100%;padding-left:0;padding-right:0}.input__left--action,.input__right--action{padding:0}.input__left--placeholder,.input__right--placeholder{background:#070514;box-shadow:inset 0 1px 1px #bfbfbf1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box;font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px;border-radius:.825rem;padding:.7rem;box-shadow:none}.input__left{padding-left:.7rem}.input__left--icon{align-items:center}.input__right{padding-right:.7rem}.input__right--icon{align-items:center}.input__control{background:none;box-shadow:none;border:none;outline:none;margin:.7rem;vertical-align:middle;flex:1;width:100%;font-size:.8rem;box-sizing:border-box;color:#ffffff80}.input__control{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px}.input__token{display:inline-flex;align-items:center;vertical-align:middle;user-select:none;-webkit-user-select:none;-moz-user-select:none}.input__label{text-transform:uppercase;color:#ffffff80;font-size:.7rem;display:block}.input__label{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px}.input__description{color:#ffffff80;font-size:.8rem;margin:.35rem 0 .7rem;display:block}.input__description{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px}.input__message{z-index:0;display:flex;align-items:center;font-size:.8rem;gap:.35rem;margin-top:.7rem}.input__message{border-radius:1rem;font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px;box-shadow:none}.input__message>svg{width:1rem;height:1rem}.pin-input{display:flex;justify-content:space-between;gap:.7rem;position:relative;background:transparent}.pin-input__field{flex:1;width:100%;aspect-ratio:1/1;text-align:center}.number-input::-webkit-outer-spin-button,.number-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.number-input[type=number]{-moz-appearance:textfield}.radio-input{background:transparent!important;box-shadow:none!important;display:flex;align-items:center;box-sizing:border-box;gap:.35rem;position:relative}.radio-input__button{top:-1px;width:18px;height:18px;padding:.35rem}.radio-input__button{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px}.radio-input__button:active,.radio-input__button:focus,.radio-input__button[aria-selected=true],.radio-input__button[data-state=open]{background:#2c2a36;box-shadow:inset 0 1px 1px #bfbfbf1a;outline:none}.radio-input__button{background:#201e2c;box-shadow:inset 0 1px 1px #bfbfbf1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box}.radio-input__button:disabled,.radio-input__button[data-disabled],.radio-input__button[aria-disabled=true],.radio-input__button--disabled{cursor:not-allowed;opacity:25%;pointer-events:unset}.radio-input__button{border-radius:1rem}.radio-input__button[data-state=checked]{background:#2c2a36;box-shadow:inset 0 1px 1px #bfbfbf1a;outline:none}.radio-input__indicator{height:100%;position:relative;display:block;aspect-ratio:1/1}.radio-input__indicator[data-state=checked]{background-color:#70ffb2}.radio-input__indicator[data-state=checked]{border-radius:1rem}.radio-button{padding:0;display:inline-flex}.checkbox-input{background:transparent!important;box-shadow:none!important;align-items:center;box-sizing:border-box;gap:.35rem}.checkbox-input__button{aspect-ratio:1/1;width:1.3rem;height:1.3rem;display:flex;align-items:center;justify-content:center;border-radius:.35rem;cursor:pointer}.checkbox-input__button{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px}.checkbox-input__button:active,.checkbox-input__button:focus,.checkbox-input__button[aria-selected=true],.checkbox-input__button[data-state=open]{background:#2c2a36;box-shadow:inset 0 1px 1px #bfbfbf1a;outline:none}.checkbox-input__button{background:#201e2c;box-shadow:inset 0 1px 1px #bfbfbf1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box}.checkbox-input__button:disabled,.checkbox-input__button[data-disabled],.checkbox-input__button[aria-disabled=true],.checkbox-input__button--disabled{cursor:not-allowed;opacity:25%;pointer-events:unset}.checkbox-input__indicator{position:relative;display:flex;align-items:center;justify-content:center;top:1px;color:#70ffb2}.switch-input{box-shadow:none!important;background:transparent!important;width:fit-content}.switch-input .input__control{position:relative;box-sizing:border-box;padding:0;margin:0;height:16px;width:0;appearance:none;outline:none;cursor:pointer;background-color:transparent;border-radius:50%}.switch-input .input__control:checked:after{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translate(22px);-webkit-transition:.4s;transition:.4s}.switch-input .input__control:checked:before{background:#121e24;box-shadow:inset 0 1px 1px #bfbfbf1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box;position:absolute;width:2.6rem;height:1.25rem}.switch-input .input__control:after{width:.9rem;height:.9rem;background-color:#fff;border-radius:50%;position:absolute;content:"";-webkit-transition:.4s;transition:.4s}.switch-input .input__control:before{content:"";z-index:-1;-webkit-transition:.4s;transition:.4s;top:-.175rem;left:-.175rem}.switch-input .input__control:before{background:#201e2c;box-shadow:inset 0 1px 1px #bfbfbf1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box;border-radius:1rem;position:absolute;width:2.6rem;height:1.25rem}
1
+ .input{display:flex;z-index:1;align-items:center;box-sizing:border-box}.input{background:#201e2c;box-shadow:inset 0 1px 1px #ffffff1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box}.input:hover{background:#bfbfbf26;box-shadow:inset 0 1px 1px #ffffff1a}.input:active,.input:focus,.input[aria-selected=true],.input[data-state=open]{background:#bfbfbf33;box-shadow:inset 0 1px 1px #ffffff1a;outline:none}.input{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px;border-radius:1rem}.input:has(.input__control:focus),.input:has(.input__control[contenteditable=true]:focus){background:#bfbfbf33;box-shadow:inset 0 1px 1px #ffffff1a;outline:none}.input--not-valid{background:#1c0516;box-shadow:inset 0 1px 1px #d904291a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box}.input__left,.input__right{display:flex;align-items:stretch;margin:.175rem;gap:.7rem}.input__left>button,.input__right>button{height:100%;padding-left:0;padding-right:0}.input__left--action,.input__right--action{padding:0}.input__left--placeholder,.input__right--placeholder{background:#070514;box-shadow:inset 0 1px 1px #bfbfbf1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box;font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px;border-radius:.825rem;padding:.7rem;box-shadow:none}.input__left{padding-left:.7rem}.input__left--icon{align-items:center}.input__right{padding-right:.7rem}.input__right--icon{align-items:center}.input__control{background:none;box-shadow:none;border:none;outline:none;margin:.7rem;vertical-align:middle;flex:1;width:100%;font-size:.8rem;box-sizing:border-box;color:#ffffff80}.input__control{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px}.input__token{display:inline-flex;align-items:center;vertical-align:middle;user-select:none;-webkit-user-select:none;-moz-user-select:none}.input__label{text-transform:uppercase;color:#ffffff80;font-size:.7rem;display:block}.input__label{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px}.input__description{color:#ffffff80;font-size:.8rem;margin:.35rem 0 .7rem;display:block}.input__description{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px}.input__message{z-index:0;display:flex;align-items:center;font-size:.8rem;gap:.35rem;margin-top:.7rem}.input__message{border-radius:1rem;font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px;color:#ffffffbf;box-shadow:none}.input__message>svg{width:1rem;height:1rem;min-width:1rem;min-height:1rem}.pin-input{display:flex;justify-content:space-between;gap:.7rem;position:relative;background:transparent}.pin-input__field{flex:1;width:100%;aspect-ratio:1/1;text-align:center}.number-input::-webkit-outer-spin-button,.number-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.number-input[type=number]{-moz-appearance:textfield}.radio-input{background:transparent!important;box-shadow:none!important;display:flex;align-items:center;box-sizing:border-box;gap:.35rem;position:relative}.radio-input__button{top:-1px;width:18px;height:18px;padding:.35rem}.radio-input__button{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px}.radio-input__button:active,.radio-input__button:focus,.radio-input__button[aria-selected=true],.radio-input__button[data-state=open]{background:#2c2a36;box-shadow:inset 0 1px 1px #bfbfbf1a;outline:none}.radio-input__button{background:#201e2c;box-shadow:inset 0 1px 1px #bfbfbf1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box}.radio-input__button:disabled,.radio-input__button[data-disabled],.radio-input__button[aria-disabled=true],.radio-input__button--disabled{cursor:not-allowed;opacity:25%;pointer-events:unset}.radio-input__button{border-radius:1rem}.radio-input__button[data-state=checked]{background:#2c2a36;box-shadow:inset 0 1px 1px #bfbfbf1a;outline:none}.radio-input__indicator{height:100%;position:relative;display:block;aspect-ratio:1/1}.radio-input__indicator[data-state=checked]{background-color:#70ffb2}.radio-input__indicator[data-state=checked]{border-radius:1rem}.radio-button{padding:0;display:inline-flex}.checkbox-input{background:transparent!important;box-shadow:none!important;align-items:center;box-sizing:border-box;gap:.35rem}.checkbox-input__button{aspect-ratio:1/1;width:1.3rem;height:1.3rem;display:flex;align-items:center;justify-content:center;border-radius:.35rem;cursor:pointer}.checkbox-input__button{font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.5px}.checkbox-input__button:active,.checkbox-input__button:focus,.checkbox-input__button[aria-selected=true],.checkbox-input__button[data-state=open]{background:#2c2a36;box-shadow:inset 0 1px 1px #bfbfbf1a;outline:none}.checkbox-input__button{background:#201e2c;box-shadow:inset 0 1px 1px #bfbfbf1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box}.checkbox-input__button:disabled,.checkbox-input__button[data-disabled],.checkbox-input__button[aria-disabled=true],.checkbox-input__button--disabled{cursor:not-allowed;opacity:25%;pointer-events:unset}.checkbox-input__indicator{position:relative;display:flex;align-items:center;justify-content:center;top:1px;color:#70ffb2}.switch-input{box-shadow:none!important;background:transparent!important;width:fit-content}.switch-input .input__control{position:relative;box-sizing:border-box;padding:0;margin:0;height:16px;width:0;appearance:none;outline:none;cursor:pointer;background-color:transparent;border-radius:50%}.switch-input .input__control:checked:after{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translate(22px);-webkit-transition:.4s;transition:.4s}.switch-input .input__control:checked:before{background:#121e24;box-shadow:inset 0 1px 1px #bfbfbf1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box;position:absolute;width:2.6rem;height:1.25rem}.switch-input .input__control:after{width:.9rem;height:.9rem;background-color:#fff;border-radius:50%;position:absolute;content:"";-webkit-transition:.4s;transition:.4s}.switch-input .input__control:before{content:"";z-index:-1;-webkit-transition:.4s;transition:.4s;top:-.175rem;left:-.175rem}.switch-input .input__control:before{background:#201e2c;box-shadow:inset 0 1px 1px #bfbfbf1a;border:none;color:#ffffffbf;position:relative;box-sizing:border-box;border-radius:1rem;position:absolute;width:2.6rem;height:1.25rem}
@@ -0,0 +1 @@
1
+ .gantt__item{position:absolute;top:0;bottom:0;background:transparent}.gantt__group-wrapper{top:0;bottom:0;height:100%;position:absolute;background:transparent}.gantt__header{position:sticky;height:fit-content;grid-column:1/-1;display:flex;top:0;background:#070514;border-bottom:1px solid rgba(255,255,255,.25);z-index:10}.gantt__header-column{position:absolute;height:100%;padding:8px;text-align:center;display:flex;align-items:center;justify-content:center;box-sizing:border-box;transform:translate(-50%)}.gantt__header-label{text-wrap:nowrap;display:flex;align-items:center}.gantt__header-label-column{position:sticky;left:0;width:fit-content;height:100%;padding:8px;display:flex;align-items:center;justify-content:start;box-sizing:border-box;background:#070514;z-index:2}
@@ -1 +1 @@
1
- .d-layout{position:relative;width:100%;height:100%;overflow:hidden;display:flex}.d-layout__inner{display:flex;flex-direction:column;width:100%;height:100%}.d-layout__top,.d-layout__bottom{flex:0 0 auto}.d-layout__middle{display:flex;flex:1 1 auto;min-height:0;height:100%;width:100%}.d-layout__splitter{background:#bfbfbf1a;position:relative;align-self:stretch}.d-layout__splitter[aria-orientation=vertical]{width:1px;height:auto}.d-layout__splitter[aria-orientation=horizontal]{width:100%;height:0}.d-layout__left,.d-layout__right{flex:0 0 auto}.d-layout__content{flex:1 1 auto;min-width:0;min-height:0;overflow:auto}
1
+ .d-layout{position:relative;width:100%;height:100%;overflow:hidden;display:flex;box-sizing:border-box}.d-layout__inner{display:flex;flex-direction:column;width:100%;height:100%}.d-layout__top,.d-layout__bottom{flex:0 0 auto}.d-layout__middle{display:flex;flex:1 1 auto;min-height:0;height:100%;width:100%}.d-layout__splitter{background:#bfbfbf1a;position:relative;align-self:stretch}.d-layout__splitter[aria-orientation=vertical]{width:1px;height:auto}.d-layout__splitter[aria-orientation=horizontal]{width:100%;height:1px}.d-layout__left,.d-layout__right{flex:0 0 auto}.d-layout__content{flex:1 1 auto;min-width:0;min-height:0}
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
- import { Code0Component, Color } from '../../utils';
3
- export interface AlertProps extends Code0Component<HTMLDivElement> {
2
+ import { Component, Color } from '../../utils';
3
+ export interface AlertProps extends Component<HTMLDivElement> {
4
4
  color?: Color;
5
5
  children: React.ReactNode;
6
6
  }
@@ -2,19 +2,20 @@ import { jsxs as z, jsx as r } from "react/jsx-runtime";
2
2
  import { c as C } from "../../_virtual/compiler-runtime.js";
3
3
  import "../../utils/contextStore.js";
4
4
  import "react";
5
- import { mergeCode0Props as I } from "../../utils/utils.js";
5
+ import { mergeComponentProps as I } from "../../utils/component.js";
6
+ import "js-md5";
6
7
  import { IconCircleX as h, IconAlertCircle as y, IconCircleCheck as x, IconInfoCircle as u, IconCircleDot as a } from "@tabler/icons-react";
7
8
  import '../../assets/components/alert/Alert.style.css';/* empty css */
8
- const k = (n) => {
9
+ const w = (n) => {
9
10
  const e = C.c(10);
10
11
  let o, i, c, t;
11
12
  if (e[0] !== n) {
12
13
  const {
13
14
  color: f,
14
- children: d,
15
- ...p
15
+ children: p,
16
+ ...d
16
17
  } = n;
17
- o = d, i = f === void 0 ? "secondary" : f;
18
+ o = p, i = f === void 0 ? "secondary" : f;
18
19
  let s;
19
20
  e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = {
20
21
  primary: /* @__PURE__ */ r(a, { size: 16 }),
@@ -24,7 +25,7 @@ const k = (n) => {
24
25
  success: /* @__PURE__ */ r(x, { size: 16 }),
25
26
  warning: /* @__PURE__ */ r(y, { size: 16 }),
26
27
  error: /* @__PURE__ */ r(h, { size: 16 })
27
- }, e[5] = s) : s = e[5], c = s, t = I(`alert alert--${i}`, p), e[0] = n, e[1] = o, e[2] = i, e[3] = c, e[4] = t;
28
+ }, e[5] = s) : s = e[5], c = s, t = I(`alert alert--${i}`, d), e[0] = n, e[1] = o, e[2] = i, e[3] = c, e[4] = t;
28
29
  } else
29
30
  o = e[1], i = e[2], c = e[3], t = e[4];
30
31
  const m = c[i];
@@ -35,5 +36,5 @@ const k = (n) => {
35
36
  ] }), e[6] = o, e[7] = t, e[8] = m, e[9] = l) : l = e[9], l;
36
37
  };
37
38
  export {
38
- k as Alert
39
+ w as Alert
39
40
  };
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
- import { Code0Component } from '../../utils/types';
3
- export interface AvatarProps extends Code0Component<HTMLDivElement> {
2
+ import { Component } from '../../utils/component';
3
+ export interface AvatarProps extends Component<HTMLDivElement> {
4
4
  identifier?: string;
5
5
  src?: string;
6
6
  size?: number;
@@ -1,53 +1,56 @@
1
- import { jsx as d } from "react/jsx-runtime";
2
- import { c as v } from "../../_virtual/compiler-runtime.js";
1
+ import { jsx as p } from "react/jsx-runtime";
2
+ import { c as d } from "../../_virtual/compiler-runtime.js";
3
+ import { mergeComponentProps as y } from "../../utils/component.js";
3
4
  import '../../assets/components/avatar/Avatar.style.css';/* empty css */
4
- import { mergeCode0Props as y, hashToColor as z } from "../../utils/utils.js";
5
- import A from "avvvatars-react";
5
+ import z from "avvvatars-react";
6
+ import "../../utils/contextStore.js";
7
+ import "react";
8
+ import { hashToColor as A } from "../../utils/color.js";
6
9
  const $ = (m) => {
7
- const t = v.c(3), {
10
+ const t = d.c(3), {
8
11
  src: e,
9
12
  size: i
10
13
  } = m;
11
- let r;
12
- return t[0] !== i || t[1] !== e ? (r = /* @__PURE__ */ d("img", { src: e, width: i, height: i, alt: "Avatar image" }), t[0] = i, t[1] = e, t[2] = r) : r = t[2], r;
14
+ let o;
15
+ return t[0] !== i || t[1] !== e ? (o = /* @__PURE__ */ p("img", { src: e, width: i, height: i, alt: "Avatar image" }), t[0] = i, t[1] = e, t[2] = o) : o = t[2], o;
13
16
  }, x = (m) => {
14
- const t = v.c(12), {
17
+ const t = d.c(12), {
15
18
  identifier: e,
16
19
  size: i,
17
- color: r,
20
+ color: o,
18
21
  type: s
19
22
  } = m;
20
- let o;
21
- t[0] !== r || t[1] !== e ? (o = r ?? z(e), t[0] = r, t[1] = e, t[2] = o) : o = t[2];
23
+ let r;
24
+ t[0] !== o || t[1] !== e ? (r = o ?? A(e), t[0] = o, t[1] = e, t[2] = r) : r = t[2];
22
25
  let l;
23
- t[3] !== o ? (l = {
24
- "--color": o
25
- }, t[3] = o, t[4] = l) : l = t[4];
26
- const c = l, n = s ?? "shape";
26
+ t[3] !== r ? (l = {
27
+ "--color": r
28
+ }, t[3] = r, t[4] = l) : l = t[4];
29
+ const n = l, c = s ?? "shape";
27
30
  let a;
28
- t[5] !== e || t[6] !== i || t[7] !== n ? (a = /* @__PURE__ */ d(A, { style: n, value: e, size: i }), t[5] = e, t[6] = i, t[7] = n, t[8] = a) : a = t[8];
31
+ t[5] !== e || t[6] !== i || t[7] !== c ? (a = /* @__PURE__ */ p(z, { style: c, value: e, size: i }), t[5] = e, t[6] = i, t[7] = c, t[8] = a) : a = t[8];
29
32
  let f;
30
- return t[9] !== c || t[10] !== a ? (f = /* @__PURE__ */ d("div", { style: c, children: a }), t[9] = c, t[10] = a, t[11] = f) : f = t[11], f;
31
- }, P = (m) => {
32
- const t = v.c(16);
33
- let e, i, r, s, o, l;
33
+ return t[9] !== n || t[10] !== a ? (f = /* @__PURE__ */ p("div", { style: n, children: a }), t[9] = n, t[10] = a, t[11] = f) : f = t[11], f;
34
+ }, b = (m) => {
35
+ const t = d.c(16);
36
+ let e, i, o, s, r, l;
34
37
  if (t[0] !== m) {
35
38
  const {
36
39
  identifier: a,
37
40
  color: f,
38
41
  src: h,
39
- size: p,
42
+ size: v,
40
43
  type: g,
41
44
  ...u
42
45
  } = m;
43
- i = a, e = f, s = h, l = g, r = p === void 0 ? 32 : p, o = y(`avatar ${!i && s ? "avatar--image" : "avatar--identicon"}`, u), t[0] = m, t[1] = e, t[2] = i, t[3] = r, t[4] = s, t[5] = o, t[6] = l;
46
+ i = a, e = f, s = h, l = g, o = v === void 0 ? 32 : v, r = y(`avatar ${!i && s ? "avatar--image" : "avatar--identicon"}`, u), t[0] = m, t[1] = e, t[2] = i, t[3] = o, t[4] = s, t[5] = r, t[6] = l;
44
47
  } else
45
- e = t[1], i = t[2], r = t[3], s = t[4], o = t[5], l = t[6];
46
- let c;
47
- t[7] !== e || t[8] !== i || t[9] !== r || t[10] !== s || t[11] !== l ? (c = i ? /* @__PURE__ */ d(x, { type: l, color: e, identifier: i, size: r }) : s ? /* @__PURE__ */ d($, { src: s, size: r }) : null, t[7] = e, t[8] = i, t[9] = r, t[10] = s, t[11] = l, t[12] = c) : c = t[12];
48
+ e = t[1], i = t[2], o = t[3], s = t[4], r = t[5], l = t[6];
48
49
  let n;
49
- return t[13] !== o || t[14] !== c ? (n = /* @__PURE__ */ d("div", { ...o, children: c }), t[13] = o, t[14] = c, t[15] = n) : n = t[15], n;
50
+ t[7] !== e || t[8] !== i || t[9] !== o || t[10] !== s || t[11] !== l ? (n = i ? /* @__PURE__ */ p(x, { type: l, color: e, identifier: i, size: o }) : s ? /* @__PURE__ */ p($, { src: s, size: o }) : null, t[7] = e, t[8] = i, t[9] = o, t[10] = s, t[11] = l, t[12] = n) : n = t[12];
51
+ let c;
52
+ return t[13] !== r || t[14] !== n ? (c = /* @__PURE__ */ p("div", { ...r, children: n }), t[13] = r, t[14] = n, t[15] = c) : c = t[15], c;
50
53
  };
51
54
  export {
52
- P as Avatar
55
+ b as Avatar
53
56
  };
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
- import { Code0Component, Color } from '../../utils/types';
3
- export interface BadgeType extends Code0Component<HTMLSpanElement> {
2
+ import { Color, Component } from '../../utils';
3
+ export interface BadgeType extends Component<HTMLSpanElement> {
4
4
  children: React.ReactNode;
5
5
  color?: Color | string;
6
6
  border?: boolean;
@@ -1,19 +1,22 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
2
  import { c as g } from "../../_virtual/compiler-runtime.js";
3
3
  import '../../assets/components/badge/Badge.style.css';/* empty css */
4
- import { mergeCode0Props as p } from "../../utils/utils.js";
5
- const M = (t) => {
4
+ import "../../utils/contextStore.js";
5
+ import "react";
6
+ import { mergeComponentProps as p } from "../../utils/component.js";
7
+ import "js-md5";
8
+ const R = (e) => {
6
9
  const o = g.c(6);
7
- let e, r;
8
- if (o[0] !== t) {
10
+ let t, r;
11
+ if (o[0] !== e) {
9
12
  const {
10
- color: n,
13
+ color: c,
11
14
  border: d,
12
15
  children: a,
13
16
  ...b
14
- } = t;
15
- e = a;
16
- const s = n === void 0 ? "primary" : n;
17
+ } = e;
18
+ t = a;
19
+ const s = c === void 0 ? "primary" : c;
17
20
  r = p(`badge badge--${s} ${(d === void 0 ? !1 : d) ? "" : "badge--border"}`, {
18
21
  ...b,
19
22
  style: {
@@ -22,12 +25,12 @@ const M = (t) => {
22
25
  "--badge-color-border": l(s, 0.1),
23
26
  "--badge-color": l(s, 0.75)
24
27
  }
25
- }), o[0] = t, o[1] = e, o[2] = r;
28
+ }), o[0] = e, o[1] = t, o[2] = r;
26
29
  } else
27
- e = o[1], r = o[2];
28
- let c;
29
- return o[3] !== e || o[4] !== r ? (c = /* @__PURE__ */ u("span", { ...r, children: e }), o[3] = e, o[4] = r, o[5] = c) : c = o[5], c;
30
- }, i = (t) => Math.min(Math.max(t, 0), 1), m = (t) => {
30
+ t = o[1], r = o[2];
31
+ let n;
32
+ return o[3] !== t || o[4] !== r ? (n = /* @__PURE__ */ u("span", { ...r, children: t }), o[3] = t, o[4] = r, o[5] = n) : n = o[5], n;
33
+ }, i = (e) => Math.min(Math.max(e, 0), 1), m = (e) => {
31
34
  if (typeof document > "u")
32
35
  return {
33
36
  r: 0,
@@ -36,10 +39,10 @@ const M = (t) => {
36
39
  a: 1
37
40
  };
38
41
  const o = document.createElement("span");
39
- o.style.color = t, document.body.appendChild(o);
40
- const e = getComputedStyle(o).color;
42
+ o.style.color = e, document.body.appendChild(o);
43
+ const t = getComputedStyle(o).color;
41
44
  document.body.removeChild(o);
42
- const r = e.match(/rgba?\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)(?:\s*,\s*([\d.]+))?\s*\)/);
45
+ const r = t.match(/rgba?\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)(?:\s*,\s*([\d.]+))?\s*\)/);
43
46
  return r ? {
44
47
  r: Math.round(Number(r[1])),
45
48
  g: Math.round(Number(r[2])),
@@ -51,13 +54,13 @@ const M = (t) => {
51
54
  b: 0,
52
55
  a: 1
53
56
  };
54
- }, h = (t, o) => {
55
- const e = i(o * 0.1), r = m(t), c = m("#070514"), n = (d, a) => Math.round(d * (1 - e) + a * e);
56
- return `rgb(${n(r.r, c.r)}, ${n(r.g, c.g)}, ${n(r.b, c.b)})`;
57
- }, l = (t, o) => {
58
- const e = m(t);
59
- return `rgba(${e.r}, ${e.g}, ${e.b}, ${i(o)})`;
57
+ }, h = (e, o) => {
58
+ const t = i(o * 0.1), r = m(e), n = m("#070514"), c = (d, a) => Math.round(d * (1 - t) + a * t);
59
+ return `rgb(${c(r.r, n.r)}, ${c(r.g, n.g)}, ${c(r.b, n.b)})`;
60
+ }, l = (e, o) => {
61
+ const t = m(e);
62
+ return `rgba(${t.r}, ${t.g}, ${t.b}, ${i(o)})`;
60
63
  };
61
64
  export {
62
- M as Badge
65
+ R as Badge
63
66
  };
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
- import { Code0Component } from '../../utils/types';
3
- export interface BreadcrumbProps extends Code0Component<HTMLDivElement> {
2
+ import { Component } from '../../utils';
3
+ export interface BreadcrumbProps extends Component<HTMLDivElement> {
4
4
  splitter?: React.ReactNode;
5
5
  children?: React.ReactNode | React.ReactNode[];
6
6
  }
@@ -1,19 +1,21 @@
1
- import { jsx as r, jsxs as l } from "react/jsx-runtime";
2
- import e from "react";
3
- import { mergeCode0Props as p } from "../../utils/utils.js";
1
+ import { jsx as r, jsxs as s } from "react/jsx-runtime";
2
+ import t from "react";
3
+ import "../../utils/contextStore.js";
4
+ import { mergeComponentProps as l } from "../../utils/component.js";
5
+ import "js-md5";
4
6
  import '../../assets/components/breadcrumb/Breadcrumb.style.css';/* empty css */
5
- import { IconChevronRight as d } from "@tabler/icons-react";
6
- const C = (m) => {
7
+ import { IconChevronRight as a } from "@tabler/icons-react";
8
+ const j = (m) => {
7
9
  const {
8
- splitter: n = /* @__PURE__ */ r(d, { size: 16 }),
9
- children: t,
10
- ...c
11
- } = m, i = e.Children.count(t);
12
- return /* @__PURE__ */ r("div", { ...p("breadcrumb", c), children: e.Children.map(t, (s, o) => /* @__PURE__ */ l(e.Fragment, { children: [
13
- s,
14
- o < i - 1 ? /* @__PURE__ */ r("span", { className: "breadcrumb__splitter", children: n }) : null
15
- ] }, o)) });
10
+ splitter: n = /* @__PURE__ */ r(a, { size: 16 }),
11
+ children: o,
12
+ ...i
13
+ } = m, c = t.Children.count(o);
14
+ return /* @__PURE__ */ r("div", { ...l("breadcrumb", i), children: t.Children.map(o, (p, e) => /* @__PURE__ */ s(t.Fragment, { children: [
15
+ p,
16
+ e < c - 1 ? /* @__PURE__ */ r("span", { className: "breadcrumb__splitter", children: n }) : null
17
+ ] }, e)) });
16
18
  };
17
19
  export {
18
- C as Breadcrumb
20
+ j as Breadcrumb
19
21
  };
@@ -1,11 +1,11 @@
1
1
  import { default as React, ReactNode } from 'react';
2
- import { Code0Component, Code0Sizes, Color } from '../../utils';
3
- export interface ButtonProps extends Code0Component<HTMLButtonElement> {
2
+ import { Component, Sizes, Color } from '../../utils';
3
+ export interface ButtonProps extends Component<HTMLButtonElement> {
4
4
  children: ReactNode | ReactNode[];
5
5
  color?: Color;
6
6
  variant?: "none" | "normal" | "outlined" | "filled";
7
7
  active?: boolean;
8
8
  disabled?: boolean;
9
- paddingSize?: Code0Sizes;
9
+ paddingSize?: Sizes;
10
10
  }
11
11
  export declare const Button: React.FC<ButtonProps>;
@@ -3,11 +3,12 @@ import { c as h } from "../../_virtual/compiler-runtime.js";
3
3
  import '../../assets/components/button/Button.style.css';/* empty css */
4
4
  import z from "react";
5
5
  import "../../utils/contextStore.js";
6
- import { mergeCode0Props as S } from "../../utils/utils.js";
7
- const P = z.forwardRef((a, d) => {
6
+ import { mergeComponentProps as S } from "../../utils/component.js";
7
+ import "js-md5";
8
+ const k = z.forwardRef((a, s) => {
8
9
  const t = h.c(11);
9
- let o, r, e, i;
10
- if (t[0] !== a || t[1] !== d) {
10
+ let o, n, e, i;
11
+ if (t[0] !== a || t[1] !== s) {
11
12
  const {
12
13
  children: f,
13
14
  variant: c,
@@ -15,17 +16,17 @@ const P = z.forwardRef((a, d) => {
15
16
  paddingSize: m,
16
17
  active: b,
17
18
  disabled: u,
18
- ...v
19
+ ...p
19
20
  } = a;
20
21
  o = f;
21
- const p = c === void 0 ? "normal" : c, $ = l === void 0 ? "secondary" : l, g = m === void 0 ? "xs" : m, x = b === void 0 ? !1 : b;
22
- r = u === void 0 ? !1 : u, e = d, i = S(`button button--${$} ${x ? "button--active" : ""} ${r ? "button--disabled" : ""} button--${p} button--${g}`, v), t[0] = a, t[1] = d, t[2] = o, t[3] = r, t[4] = e, t[5] = i;
22
+ const v = c === void 0 ? "normal" : c, $ = l === void 0 ? "secondary" : l, g = m === void 0 ? "xs" : m, x = b === void 0 ? !1 : b;
23
+ n = u === void 0 ? !1 : u, e = s, i = S(`button button--${$} ${x ? "button--active" : ""} ${n ? "button--disabled" : ""} button--${v} button--${g}`, p), t[0] = a, t[1] = s, t[2] = o, t[3] = n, t[4] = e, t[5] = i;
23
24
  } else
24
- o = t[2], r = t[3], e = t[4], i = t[5];
25
- const s = r ? "true" : "false";
26
- let n;
27
- return t[6] !== o || t[7] !== e || t[8] !== i || t[9] !== s ? (n = /* @__PURE__ */ R("button", { ref: e, ...i, "aria-disabled": s, children: o }), t[6] = o, t[7] = e, t[8] = i, t[9] = s, t[10] = n) : n = t[10], n;
25
+ o = t[2], n = t[3], e = t[4], i = t[5];
26
+ const d = n ? "true" : "false";
27
+ let r;
28
+ return t[6] !== o || t[7] !== e || t[8] !== i || t[9] !== d ? (r = /* @__PURE__ */ R("button", { ref: e, ...i, "aria-disabled": d, children: o }), t[6] = o, t[7] = e, t[8] = i, t[9] = d, t[10] = r) : r = t[10], r;
28
29
  });
29
30
  export {
30
- P as Button
31
+ k as Button
31
32
  };
@@ -1,7 +1,7 @@
1
1
  import { default as React, ReactElement } from 'react';
2
2
  import { ButtonProps } from '../button/Button';
3
- import { Code0Component, Color } from '../../utils/types';
4
- export interface ButtonGroupType extends Code0Component<HTMLDivElement> {
3
+ import { Component, Color } from '../../utils';
4
+ export interface ButtonGroupType extends Component<HTMLDivElement> {
5
5
  children: ReactElement<ButtonProps>[];
6
6
  color?: Color;
7
7
  }
@@ -1,28 +1,31 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import { c as m } from "../../_virtual/compiler-runtime.js";
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { c as u } from "../../_virtual/compiler-runtime.js";
3
3
  import '../../assets/components/button-group/ButtonGroup.style.css';/* empty css */
4
- import { mergeCode0Props as p } from "../../utils/utils.js";
5
- const h = (c) => {
6
- const t = m.c(10);
7
- let o, e;
8
- if (t[0] !== c) {
4
+ import "../../utils/contextStore.js";
5
+ import "react";
6
+ import { mergeComponentProps as c } from "../../utils/component.js";
7
+ import "js-md5";
8
+ const v = (p) => {
9
+ const t = u.c(10);
10
+ let o, r;
11
+ if (t[0] !== p) {
9
12
  const {
10
- children: l,
11
- color: s,
12
- ...n
13
- } = c;
14
- o = l, e = p(`button-group button-group--${s === void 0 ? "secondary" : s}`, n), t[0] = c, t[1] = o, t[2] = e;
13
+ children: n,
14
+ color: i,
15
+ ...l
16
+ } = p;
17
+ o = n, r = c(`button-group button-group--${i === void 0 ? "secondary" : i}`, l), t[0] = p, t[1] = o, t[2] = r;
15
18
  } else
16
- o = t[1], e = t[2];
17
- let r;
19
+ o = t[1], r = t[2];
20
+ let e;
18
21
  if (t[3] !== o) {
19
- let l;
20
- t[5] !== o.length ? (l = (s, n) => /* @__PURE__ */ i("div", { className: `${n == 0 || n == o.length - 1 ? n == 0 ? "button-group__first" : "button-group__last" : "button-group__item"}`, children: s }, s.key ?? `button-group-${n}`), t[5] = o.length, t[6] = l) : l = t[6], r = o.map(l), t[3] = o, t[4] = r;
22
+ let n;
23
+ t[5] !== o.length ? (n = (i, l) => /* @__PURE__ */ s("div", { className: `${l == 0 || l == o.length - 1 ? l == 0 ? "button-group__first" : "button-group__last" : "button-group__item"}`, children: i }, i.key ?? `button-group-${l}`), t[5] = o.length, t[6] = n) : n = t[6], e = o.map(n), t[3] = o, t[4] = e;
21
24
  } else
22
- r = t[4];
23
- let u;
24
- return t[7] !== e || t[8] !== r ? (u = /* @__PURE__ */ i("div", { ...e, children: r }), t[7] = e, t[8] = r, t[9] = u) : u = t[9], u;
25
+ e = t[4];
26
+ let m;
27
+ return t[7] !== r || t[8] !== e ? (m = /* @__PURE__ */ s("div", { ...r, children: e }), t[7] = r, t[8] = e, t[9] = m) : m = t[9], m;
25
28
  };
26
29
  export {
27
- h as ButtonGroup
30
+ v as ButtonGroup
28
31
  };
@@ -1,6 +1,6 @@
1
1
  import { default as React, ReactNode } from 'react';
2
- import { Code0Component, Code0Sizes, Color } from '../../utils/types';
3
- export interface Card extends Code0Component<HTMLDivElement> {
2
+ import { Color, Component, Sizes } from '../../utils';
3
+ export interface Card extends Component<HTMLDivElement> {
4
4
  children: ReactNode | ReactNode[];
5
5
  color?: Color;
6
6
  variant?: "none" | "normal" | "outlined" | "filled";
@@ -10,6 +10,6 @@ export interface Card extends Code0Component<HTMLDivElement> {
10
10
  outline?: boolean;
11
11
  outlineColor?: Color;
12
12
  dashed?: boolean;
13
- paddingSize?: Code0Sizes;
13
+ paddingSize?: Sizes;
14
14
  }
15
15
  export declare const Card: React.FC<Card>;
@@ -1,10 +1,13 @@
1
- import { jsx as p, Fragment as j } from "react/jsx-runtime";
1
+ import { jsx as f, Fragment as j } from "react/jsx-runtime";
2
2
  import { c as E } from "../../_virtual/compiler-runtime.js";
3
3
  import '../../assets/components/card/Card.style.css';/* empty css */
4
- import { mergeCode0Props as F } from "../../utils/utils.js";
5
- const A = (e) => {
4
+ import "../../utils/contextStore.js";
5
+ import "react";
6
+ import { mergeComponentProps as F } from "../../utils/component.js";
7
+ import "js-md5";
8
+ const G = (e) => {
6
9
  const o = E.c(6);
7
- let r, d;
10
+ let r, t;
8
11
  if (o[0] !== e) {
9
12
  const {
10
13
  children: C,
@@ -16,27 +19,27 @@ const A = (e) => {
16
19
  outlineColor: s,
17
20
  outline: m,
18
21
  dashed: g,
19
- paddingSize: v,
22
+ paddingSize: p,
20
23
  ...u
21
24
  } = e;
22
25
  r = C;
23
- const h = i === void 0 ? "primary" : i, b = n === void 0 ? "normal" : n, $ = a === void 0 ? !1 : a, x = c === void 0 ? "secondary" : c, f = l === void 0 ? "secondary" : l, y = s === void 0 ? "secondary" : s, z = m === void 0 ? !1 : m, S = g === void 0 ? !1 : g;
24
- d = F(`
26
+ const h = i === void 0 ? "primary" : i, b = n === void 0 ? "normal" : n, v = a === void 0 ? !1 : a, x = c === void 0 ? "secondary" : c, $ = l === void 0 ? "secondary" : l, y = s === void 0 ? "secondary" : s, z = m === void 0 ? !1 : m, S = g === void 0 ? !1 : g;
27
+ t = F(`
25
28
  card
26
29
  card--${h} card--${b}
27
- card--${v === void 0 ? "xl" : v}
30
+ card--${p === void 0 ? "xl" : p}
28
31
  ${z ? `card--outline-${y}` : ""}
29
- ${$ ? "card--gradient" : ""}
30
- ${f ? `card--border-${f}` : ""}
32
+ ${v ? "card--gradient" : ""}
33
+ ${$ ? `card--border-${$}` : ""}
31
34
  ${S ? "card--border--dashed" : ""}
32
- ${$ ? `card--gradient-${x}` : ""}
35
+ ${v ? `card--gradient-${x}` : ""}
33
36
 
34
- `, u), o[0] = e, o[1] = r, o[2] = d;
37
+ `, u), o[0] = e, o[1] = r, o[2] = t;
35
38
  } else
36
- r = o[1], d = o[2];
37
- let t;
38
- return o[3] !== r || o[4] !== d ? (t = /* @__PURE__ */ p(j, { children: /* @__PURE__ */ p("div", { ...d, children: r }) }), o[3] = r, o[4] = d, o[5] = t) : t = o[5], t;
39
+ r = o[1], t = o[2];
40
+ let d;
41
+ return o[3] !== r || o[4] !== t ? (d = /* @__PURE__ */ f(j, { children: /* @__PURE__ */ f("div", { ...t, children: r }) }), o[3] = r, o[4] = t, o[5] = d) : d = o[5], d;
39
42
  };
40
43
  export {
41
- A as Card
44
+ G as Card
42
45
  };
@@ -1,6 +1,6 @@
1
- import { Code0Component } from '../../utils/types';
1
+ import { Component } from '../../utils';
2
2
  import { default as React, ReactNode } from 'react';
3
- export interface SectionType extends Code0Component<HTMLDivElement> {
3
+ export interface SectionType extends Component<HTMLDivElement> {
4
4
  children: ReactNode | ReactNode[];
5
5
  image?: boolean;
6
6
  border?: boolean;
@@ -1,28 +1,31 @@
1
- import { jsx as a, Fragment as l } from "react/jsx-runtime";
1
+ import { jsx as m, Fragment as l } from "react/jsx-runtime";
2
2
  import { c as f } from "../../_virtual/compiler-runtime.js";
3
- import { mergeCode0Props as v } from "../../utils/utils.js";
4
- const u = (i) => {
3
+ import "../../utils/contextStore.js";
4
+ import "react";
5
+ import { mergeComponentProps as v } from "../../utils/component.js";
6
+ import "js-md5";
7
+ const j = (i) => {
5
8
  const e = f.c(6);
6
9
  let r, o;
7
10
  if (e[0] !== i) {
8
11
  const {
9
12
  image: c,
10
- border: s,
11
- hover: d,
12
- children: n,
13
- ...m
13
+ border: n,
14
+ hover: s,
15
+ children: a,
16
+ ...d
14
17
  } = i;
15
- r = n, o = v(`
18
+ r = a, o = v(`
16
19
  card__section
17
- ${(s === void 0 ? !1 : s) ? "card__section--border" : ""}
20
+ ${(n === void 0 ? !1 : n) ? "card__section--border" : ""}
18
21
  ${(c === void 0 ? !1 : c) ? "card__section--image" : ""}
19
- ${(d === void 0 ? !1 : d) ? "card__section--hover" : ""}
20
- `, m), e[0] = i, e[1] = r, e[2] = o;
22
+ ${(s === void 0 ? !1 : s) ? "card__section--hover" : ""}
23
+ `, d), e[0] = i, e[1] = r, e[2] = o;
21
24
  } else
22
25
  r = e[1], o = e[2];
23
26
  let t;
24
- return e[3] !== r || e[4] !== o ? (t = /* @__PURE__ */ a(l, { children: /* @__PURE__ */ a("div", { ...o, children: r }) }), e[3] = r, e[4] = o, e[5] = t) : t = e[5], t;
27
+ return e[3] !== r || e[4] !== o ? (t = /* @__PURE__ */ m(l, { children: /* @__PURE__ */ m("div", { ...o, children: r }) }), e[3] = r, e[4] = o, e[5] = t) : t = e[5], t;
25
28
  };
26
29
  export {
27
- u as default
30
+ j as default
28
31
  };
@@ -1,7 +1,7 @@
1
1
  import { default as React, ReactNode } from 'react';
2
- import { Code0Component } from '../../utils/types';
2
+ import { Component } from '../../utils';
3
3
  export type ColBreakPointRange = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
4
- export interface ColType extends Code0Component<HTMLDivElement> {
4
+ export interface ColType extends Component<HTMLDivElement> {
5
5
  children: ReactNode | ReactNode[];
6
6
  xs?: ColBreakPointRange;
7
7
  sm?: ColBreakPointRange;