honeycombatomiclib 0.0.2 → 0.0.4

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 (45) hide show
  1. package/dist/components/atoms/buttons/BeeButton.d.ts +2 -1
  2. package/dist/components/atoms/buttons/BeeButton.d.ts.map +1 -1
  3. package/dist/components/atoms/index.d.ts +2 -0
  4. package/dist/components/atoms/index.d.ts.map +1 -1
  5. package/dist/components/atoms/label/BeeLabel.d.ts +11 -0
  6. package/dist/components/atoms/label/BeeLabel.d.ts.map +1 -0
  7. package/dist/components/atoms/label/index.d.ts +2 -0
  8. package/dist/components/atoms/label/index.d.ts.map +1 -0
  9. package/dist/components/atoms/select/BeeCheckbox.d.ts +21 -0
  10. package/dist/components/atoms/select/BeeCheckbox.d.ts.map +1 -0
  11. package/dist/components/atoms/select/index.d.ts +2 -0
  12. package/dist/components/atoms/select/index.d.ts.map +1 -0
  13. package/dist/index.css +1 -1
  14. package/dist/index.d.ts +29 -2
  15. package/dist/index.js +1 -1
  16. package/dist/index.js.map +1 -1
  17. package/dist/index.mjs +1 -1
  18. package/dist/index.mjs.map +1 -1
  19. package/dist/node_modules/react-id-generator/lib/index.d.ts +7 -0
  20. package/dist/node_modules/react-id-generator/lib/index.d.ts.map +1 -0
  21. package/dist/src/components/atoms/buttons/BeeButton.d.ts +24 -0
  22. package/dist/src/components/atoms/buttons/BeeButton.d.ts.map +1 -0
  23. package/dist/src/components/atoms/buttons/index.d.ts +2 -0
  24. package/dist/src/components/atoms/buttons/index.d.ts.map +1 -0
  25. package/dist/src/components/atoms/index.d.ts +2 -0
  26. package/dist/src/components/atoms/index.d.ts.map +1 -0
  27. package/dist/src/components/index.d.ts +2 -0
  28. package/dist/src/components/index.d.ts.map +1 -0
  29. package/dist/src/index.d.ts +3 -0
  30. package/dist/src/index.d.ts.map +1 -0
  31. package/dist/stories/Button.d.ts +16 -0
  32. package/dist/stories/Button.d.ts.map +1 -0
  33. package/dist/stories/Button.stories.d.ts +9 -0
  34. package/dist/stories/Button.stories.d.ts.map +1 -0
  35. package/dist/stories/Header.d.ts +13 -0
  36. package/dist/stories/Header.d.ts.map +1 -0
  37. package/dist/stories/Header.stories.d.ts +7 -0
  38. package/dist/stories/Header.stories.d.ts.map +1 -0
  39. package/dist/stories/Page.d.ts +4 -0
  40. package/dist/stories/Page.d.ts.map +1 -0
  41. package/dist/stories/Page.stories.d.ts +7 -0
  42. package/dist/stories/Page.stories.d.ts.map +1 -0
  43. package/dist/utils/keyCode.d.ts +14 -0
  44. package/dist/utils/keyCode.d.ts.map +1 -0
  45. package/package.json +17 -9
@@ -1,9 +1,10 @@
1
1
  import React from "react";
2
+ import "../../../aa_style/generaltheme.css";
2
3
  import "primeicons/primeicons.css";
3
4
  import "./BeeButton.scss";
4
5
  type BeeButtonProps = {
5
6
  /** A unique identifier for the button. */
6
- id?: string;
7
+ id?: string | undefined;
7
8
  /** Additional CSS class names to apply to the button. */
8
9
  className?: string;
9
10
  /** The text displayed on the button. */
@@ -1 +1 @@
1
- {"version":3,"file":"BeeButton.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/buttons/BeeButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,2BAA2B,CAAC;AAEnC,OAAO,kBAAkB,CAAC;AAE1B,KAAK,cAAc,GAAG;IACpB,0CAA0C;IAC1C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oCAAoC;IACpC,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,OAAO,CAAC;IACnD,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,4DAA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C9G;AAED,eAAe,SAAS,CAAC"}
@@ -1,2 +1,4 @@
1
1
  export * from "./buttons";
2
+ export * from "./label";
3
+ export * from "./select";
2
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
@@ -0,0 +1,11 @@
1
+ import "./BeeLabel.scss";
2
+ type BeeLabelProps = {
3
+ id?: string | undefined;
4
+ className?: string;
5
+ value: string | undefined;
6
+ size: "small" | "medium" | "large";
7
+ type: "neutral" | "valid" | "error";
8
+ };
9
+ export declare function BeeLabel({ id, className, value, size, type }: BeeLabelProps): import("react/jsx-runtime").JSX.Element;
10
+ export default BeeLabel;
11
+ //# sourceMappingURL=BeeLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BeeLabel.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/label/BeeLabel.tsx"],"names":[],"mappings":"AAGA,OAAO,iBAAiB,CAAC;AAEzB,KAAK,aAAa,GAAG;IACnB,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACnC,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;CACrC,CAAC;AACF,wBAAgB,QAAQ,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,aAAa,2CA2B3E;AAED,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as BeeLabel } from "./BeeLabel";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { type CheckboxChangeEvent } from "primereact/checkbox";
2
+ import "../../../aa_style/generaltheme.css";
3
+ import "./BeeCheckbox.scss";
4
+ type BeeCheckboxProps = {
5
+ id?: string | undefined;
6
+ className?: string;
7
+ label: string;
8
+ value: boolean;
9
+ disabled?: boolean;
10
+ required?: boolean;
11
+ readOnly?: boolean;
12
+ stateFalse: string;
13
+ stateTrue: string;
14
+ statusLabel?: string;
15
+ type: "primary" | "secondary";
16
+ formstate?: "valid" | "error" | "neutral" | "none";
17
+ onChange?: (event: CheckboxChangeEvent) => void;
18
+ };
19
+ export declare function BeeCheckbox({ id, className, label, value, disabled, statusLabel, type, formstate, stateTrue, stateFalse, required, readOnly, onChange, }: BeeCheckboxProps): import("react/jsx-runtime").JSX.Element;
20
+ export default BeeCheckbox;
21
+ //# sourceMappingURL=BeeCheckbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BeeCheckbox.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/select/BeeCheckbox.tsx"],"names":[],"mappings":"AACA,OAAO,EAAY,KAAK,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAIzE,OAAO,oCAAoC,CAAC;AAC5C,OAAO,oBAAoB,CAAC;AAG5B,KAAK,gBAAgB,GAAG;IACtB,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,SAAS,GAAG,WAAW,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IACnD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAC;CACjD,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAC1B,EAAE,EACF,SAAS,EACT,KAAK,EACL,KAAK,EACL,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,SAAS,EACT,SAAS,EACT,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,QAAQ,GACT,EAAE,gBAAgB,2CA6GlB;AAED,eAAe,WAAW,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as BeeCheckbox } from "./BeeCheckbox";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC"}
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- @import "./beecolors.css";@import "./beetheme.css";@import "./beeprimereact.css";@import "/node_modules/primeflex/primeflex.css";.bee-btn.bee-btn-primary.p-button:not(a):not(.p-disabled):hover{background:var(--primary-light-color)}.bee-btn.bee-btn-secondary.p-button:not(a):not(.p-disabled):hover{background:var(--secondary-light-color)}.bee-btn.bee-btn-light.p-button{background-color:var(--surface-a);color:var(--primary-color)}.bee-btn.bee-btn-light.p-button:not(a):not(.p-disabled):hover{background-color:var(--primary-color-4);color:var(--primary-color)}.bee-btn.bee-btn-light.p-button:not(a):not(.p-disabled):active{background-color:var(--primary-light-active-color);color:var(--primary-color)}.bee-btn.bee-btn-light.p-button:not(a):not(.p-disabled):focus{background:var(--primary-color-12)}.bee-btn.bee-btn-light.p-button:hover:before{background-color:var(--surface-a);content:"";height:0;position:absolute;right:0;top:0;width:0}
1
+ @import "./beecolors.css";@import "./beetheme.css";@import "./beeprimereact.css";@import "/node_modules/primeflex/primeflex.css";@import "/node_modules/primereact/resources/primereact.css";@import "/node_modules/primereact/resources/themes/lara-light-blue/theme.css";@import "/node_modules/primeicons/primeicons.css";@font-face{font-display:block;font-family:primeicons;font-style:normal;font-weight:400;src:url(fonts/primeicons.eot);src:url(fonts/primeicons.eot?#iefix) format("embedded-opentype"),url(fonts/primeicons.woff2) format("woff2"),url(fonts/primeicons.woff) format("woff"),url(fonts/primeicons.ttf) format("truetype"),url(fonts/primeicons.svg?#primeicons) format("svg")}.pi{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:primeicons;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-transform:none}.pi:before{--webkit-backface-visibility:hidden;backface-visibility:hidden}.pi-fw{text-align:center;width:1.28571429em}.pi-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}@media (prefers-reduced-motion:reduce){.pi-spin{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.pi-folder-plus:before{content:"\ea05"}.pi-receipt:before{content:"\ea06"}.pi-asterisk:before{content:"\ea07"}.pi-face-smile:before{content:"\ea08"}.pi-pinterest:before{content:"\ea09"}.pi-expand:before{content:"\ea0a"}.pi-pen-to-square:before{content:"\ea0b"}.pi-wave-pulse:before{content:"\ea0c"}.pi-turkish-lira:before{content:"\ea0d"}.pi-spinner-dotted:before{content:"\ea0e"}.pi-crown:before{content:"\ea0f"}.pi-pause-circle:before{content:"\ea10"}.pi-warehouse:before{content:"\ea11"}.pi-objects-column:before{content:"\ea12"}.pi-clipboard:before{content:"\ea13"}.pi-play-circle:before{content:"\ea14"}.pi-venus:before{content:"\ea15"}.pi-cart-minus:before{content:"\ea16"}.pi-file-plus:before{content:"\ea17"}.pi-microchip:before{content:"\ea18"}.pi-twitch:before{content:"\ea19"}.pi-building-columns:before{content:"\ea1a"}.pi-file-check:before{content:"\ea1b"}.pi-microchip-ai:before{content:"\ea1c"}.pi-trophy:before{content:"\ea1d"}.pi-barcode:before{content:"\ea1e"}.pi-file-arrow-up:before{content:"\ea1f"}.pi-mars:before{content:"\ea20"}.pi-tiktok:before{content:"\ea21"}.pi-arrow-up-right-and-arrow-down-left-from-center:before{content:"\ea22"}.pi-ethereum:before{content:"\ea23"}.pi-list-check:before{content:"\ea24"}.pi-thumbtack:before{content:"\ea25"}.pi-arrow-down-left-and-arrow-up-right-to-center:before{content:"\ea26"}.pi-equals:before{content:"\ea27"}.pi-lightbulb:before{content:"\ea28"}.pi-star-half:before{content:"\ea29"}.pi-address-book:before{content:"\ea2a"}.pi-chart-scatter:before{content:"\ea2b"}.pi-indian-rupee:before{content:"\ea2c"}.pi-star-half-fill:before{content:"\ea2d"}.pi-cart-arrow-down:before{content:"\ea2e"}.pi-calendar-clock:before{content:"\ea2f"}.pi-sort-up-fill:before{content:"\ea30"}.pi-sparkles:before{content:"\ea31"}.pi-bullseye:before{content:"\ea32"}.pi-sort-down-fill:before{content:"\ea33"}.pi-graduation-cap:before{content:"\ea34"}.pi-hammer:before{content:"\ea35"}.pi-bell-slash:before{content:"\ea36"}.pi-gauge:before{content:"\ea37"}.pi-shop:before{content:"\ea38"}.pi-headphones:before{content:"\ea39"}.pi-eraser:before{content:"\ea04"}.pi-stopwatch:before{content:"\ea01"}.pi-verified:before{content:"\ea02"}.pi-delete-left:before{content:"\ea03"}.pi-hourglass:before{content:"\e9fe"}.pi-truck:before{content:"\ea00"}.pi-wrench:before{content:"\e9ff"}.pi-microphone:before{content:"\e9fa"}.pi-megaphone:before{content:"\e9fb"}.pi-arrow-right-arrow-left:before{content:"\e9fc"}.pi-bitcoin:before{content:"\e9fd"}.pi-file-edit:before{content:"\e9f6"}.pi-language:before{content:"\e9f7"}.pi-file-export:before{content:"\e9f8"}.pi-file-import:before{content:"\e9f9"}.pi-file-word:before{content:"\e9f1"}.pi-gift:before{content:"\e9f2"}.pi-cart-plus:before{content:"\e9f3"}.pi-thumbs-down-fill:before{content:"\e9f4"}.pi-thumbs-up-fill:before{content:"\e9f5"}.pi-arrows-alt:before{content:"\e9f0"}.pi-calculator:before{content:"\e9ef"}.pi-sort-alt-slash:before{content:"\e9ee"}.pi-arrows-h:before{content:"\e9ec"}.pi-arrows-v:before{content:"\e9ed"}.pi-pound:before{content:"\e9eb"}.pi-prime:before{content:"\e9ea"}.pi-chart-pie:before{content:"\e9e9"}.pi-reddit:before{content:"\e9e8"}.pi-code:before{content:"\e9e7"}.pi-sync:before{content:"\e9e6"}.pi-shopping-bag:before{content:"\e9e5"}.pi-server:before{content:"\e9e4"}.pi-database:before{content:"\e9e3"}.pi-hashtag:before{content:"\e9e2"}.pi-bookmark-fill:before{content:"\e9df"}.pi-filter-fill:before{content:"\e9e0"}.pi-heart-fill:before{content:"\e9e1"}.pi-flag-fill:before{content:"\e9de"}.pi-circle:before{content:"\e9dc"}.pi-circle-fill:before{content:"\e9dd"}.pi-bolt:before{content:"\e9db"}.pi-history:before{content:"\e9da"}.pi-box:before{content:"\e9d9"}.pi-at:before{content:"\e9d8"}.pi-arrow-up-right:before{content:"\e9d4"}.pi-arrow-up-left:before{content:"\e9d5"}.pi-arrow-down-left:before{content:"\e9d6"}.pi-arrow-down-right:before{content:"\e9d7"}.pi-telegram:before{content:"\e9d3"}.pi-stop-circle:before{content:"\e9d2"}.pi-stop:before{content:"\e9d1"}.pi-whatsapp:before{content:"\e9d0"}.pi-building:before{content:"\e9cf"}.pi-qrcode:before{content:"\e9ce"}.pi-car:before{content:"\e9cd"}.pi-instagram:before{content:"\e9cc"}.pi-linkedin:before{content:"\e9cb"}.pi-send:before{content:"\e9ca"}.pi-slack:before{content:"\e9c9"}.pi-sun:before{content:"\e9c8"}.pi-moon:before{content:"\e9c7"}.pi-vimeo:before{content:"\e9c6"}.pi-youtube:before{content:"\e9c5"}.pi-flag:before{content:"\e9c4"}.pi-wallet:before{content:"\e9c3"}.pi-map:before{content:"\e9c2"}.pi-link:before{content:"\e9c1"}.pi-credit-card:before{content:"\e9bf"}.pi-discord:before{content:"\e9c0"}.pi-percentage:before{content:"\e9be"}.pi-euro:before{content:"\e9bd"}.pi-book:before{content:"\e9ba"}.pi-shield:before{content:"\e9b9"}.pi-paypal:before{content:"\e9bb"}.pi-amazon:before{content:"\e9bc"}.pi-phone:before{content:"\e9b8"}.pi-filter-slash:before{content:"\e9b7"}.pi-facebook:before{content:"\e9b4"}.pi-github:before{content:"\e9b5"}.pi-twitter:before{content:"\e9b6"}.pi-step-backward-alt:before{content:"\e9ac"}.pi-step-forward-alt:before{content:"\e9ad"}.pi-forward:before{content:"\e9ae"}.pi-backward:before{content:"\e9af"}.pi-fast-backward:before{content:"\e9b0"}.pi-fast-forward:before{content:"\e9b1"}.pi-pause:before{content:"\e9b2"}.pi-play:before{content:"\e9b3"}.pi-compass:before{content:"\e9ab"}.pi-id-card:before{content:"\e9aa"}.pi-ticket:before{content:"\e9a9"}.pi-file-o:before{content:"\e9a8"}.pi-reply:before{content:"\e9a7"}.pi-directions-alt:before{content:"\e9a5"}.pi-directions:before{content:"\e9a6"}.pi-thumbs-up:before{content:"\e9a3"}.pi-thumbs-down:before{content:"\e9a4"}.pi-sort-numeric-down-alt:before{content:"\e996"}.pi-sort-numeric-up-alt:before{content:"\e997"}.pi-sort-alpha-down-alt:before{content:"\e998"}.pi-sort-alpha-up-alt:before{content:"\e999"}.pi-sort-numeric-down:before{content:"\e99a"}.pi-sort-numeric-up:before{content:"\e99b"}.pi-sort-alpha-down:before{content:"\e99c"}.pi-sort-alpha-up:before{content:"\e99d"}.pi-sort-alt:before{content:"\e99e"}.pi-sort-amount-up:before{content:"\e99f"}.pi-sort-amount-down:before{content:"\e9a0"}.pi-sort-amount-down-alt:before{content:"\e9a1"}.pi-sort-amount-up-alt:before{content:"\e9a2"}.pi-palette:before{content:"\e995"}.pi-undo:before{content:"\e994"}.pi-desktop:before{content:"\e993"}.pi-sliders-v:before{content:"\e991"}.pi-sliders-h:before{content:"\e992"}.pi-search-plus:before{content:"\e98f"}.pi-search-minus:before{content:"\e990"}.pi-file-excel:before{content:"\e98e"}.pi-file-pdf:before{content:"\e98d"}.pi-check-square:before{content:"\e98c"}.pi-chart-line:before{content:"\e98b"}.pi-user-edit:before{content:"\e98a"}.pi-exclamation-circle:before{content:"\e989"}.pi-android:before{content:"\e985"}.pi-google:before{content:"\e986"}.pi-apple:before{content:"\e987"}.pi-microsoft:before{content:"\e988"}.pi-heart:before{content:"\e984"}.pi-mobile:before{content:"\e982"}.pi-tablet:before{content:"\e983"}.pi-key:before{content:"\e981"}.pi-shopping-cart:before{content:"\e980"}.pi-comments:before{content:"\e97e"}.pi-comment:before{content:"\e97f"}.pi-briefcase:before{content:"\e97d"}.pi-bell:before{content:"\e97c"}.pi-paperclip:before{content:"\e97b"}.pi-share-alt:before{content:"\e97a"}.pi-envelope:before{content:"\e979"}.pi-volume-down:before{content:"\e976"}.pi-volume-up:before{content:"\e977"}.pi-volume-off:before{content:"\e978"}.pi-eject:before{content:"\e975"}.pi-money-bill:before{content:"\e974"}.pi-images:before{content:"\e973"}.pi-image:before{content:"\e972"}.pi-sign-in:before{content:"\e970"}.pi-sign-out:before{content:"\e971"}.pi-wifi:before{content:"\e96f"}.pi-sitemap:before{content:"\e96e"}.pi-chart-bar:before{content:"\e96d"}.pi-camera:before{content:"\e96c"}.pi-dollar:before{content:"\e96b"}.pi-lock-open:before{content:"\e96a"}.pi-table:before{content:"\e969"}.pi-map-marker:before{content:"\e968"}.pi-list:before{content:"\e967"}.pi-eye-slash:before{content:"\e965"}.pi-eye:before{content:"\e966"}.pi-folder-open:before{content:"\e964"}.pi-folder:before{content:"\e963"}.pi-video:before{content:"\e962"}.pi-inbox:before{content:"\e961"}.pi-lock:before{content:"\e95f"}.pi-unlock:before{content:"\e960"}.pi-tags:before{content:"\e95d"}.pi-tag:before{content:"\e95e"}.pi-power-off:before{content:"\e95c"}.pi-save:before{content:"\e95b"}.pi-question-circle:before{content:"\e959"}.pi-question:before{content:"\e95a"}.pi-copy:before{content:"\e957"}.pi-file:before{content:"\e958"}.pi-clone:before{content:"\e955"}.pi-calendar-times:before{content:"\e952"}.pi-calendar-minus:before{content:"\e953"}.pi-calendar-plus:before{content:"\e954"}.pi-ellipsis-v:before{content:"\e950"}.pi-ellipsis-h:before{content:"\e951"}.pi-bookmark:before{content:"\e94e"}.pi-globe:before{content:"\e94f"}.pi-replay:before{content:"\e94d"}.pi-filter:before{content:"\e94c"}.pi-print:before{content:"\e94b"}.pi-align-right:before{content:"\e946"}.pi-align-left:before{content:"\e947"}.pi-align-center:before{content:"\e948"}.pi-align-justify:before{content:"\e949"}.pi-cog:before{content:"\e94a"}.pi-cloud-download:before{content:"\e943"}.pi-cloud-upload:before{content:"\e944"}.pi-cloud:before{content:"\e945"}.pi-pencil:before{content:"\e942"}.pi-users:before{content:"\e941"}.pi-clock:before{content:"\e940"}.pi-user-minus:before{content:"\e93e"}.pi-user-plus:before{content:"\e93f"}.pi-trash:before{content:"\e93d"}.pi-external-link:before{content:"\e93c"}.pi-window-maximize:before{content:"\e93b"}.pi-window-minimize:before{content:"\e93a"}.pi-refresh:before{content:"\e938"}.pi-user:before{content:"\e939"}.pi-exclamation-triangle:before{content:"\e922"}.pi-calendar:before{content:"\e927"}.pi-chevron-circle-left:before{content:"\e928"}.pi-chevron-circle-down:before{content:"\e929"}.pi-chevron-circle-right:before{content:"\e92a"}.pi-chevron-circle-up:before{content:"\e92b"}.pi-angle-double-down:before{content:"\e92c"}.pi-angle-double-left:before{content:"\e92d"}.pi-angle-double-right:before{content:"\e92e"}.pi-angle-double-up:before{content:"\e92f"}.pi-angle-down:before{content:"\e930"}.pi-angle-left:before{content:"\e931"}.pi-angle-right:before{content:"\e932"}.pi-angle-up:before{content:"\e933"}.pi-upload:before{content:"\e934"}.pi-download:before{content:"\e956"}.pi-ban:before{content:"\e935"}.pi-star-fill:before{content:"\e936"}.pi-star:before{content:"\e937"}.pi-chevron-left:before{content:"\e900"}.pi-chevron-right:before{content:"\e901"}.pi-chevron-down:before{content:"\e902"}.pi-chevron-up:before{content:"\e903"}.pi-caret-left:before{content:"\e904"}.pi-caret-right:before{content:"\e905"}.pi-caret-down:before{content:"\e906"}.pi-caret-up:before{content:"\e907"}.pi-search:before{content:"\e908"}.pi-check:before{content:"\e909"}.pi-check-circle:before{content:"\e90a"}.pi-times:before{content:"\e90b"}.pi-times-circle:before{content:"\e90c"}.pi-plus:before{content:"\e90d"}.pi-plus-circle:before{content:"\e90e"}.pi-minus:before{content:"\e90f"}.pi-minus-circle:before{content:"\e910"}.pi-circle-on:before{content:"\e911"}.pi-circle-off:before{content:"\e912"}.pi-sort-down:before{content:"\e913"}.pi-sort-up:before{content:"\e914"}.pi-sort:before{content:"\e915"}.pi-step-backward:before{content:"\e916"}.pi-step-forward:before{content:"\e917"}.pi-th-large:before{content:"\e918"}.pi-arrow-down:before{content:"\e919"}.pi-arrow-left:before{content:"\e91a"}.pi-arrow-right:before{content:"\e91b"}.pi-arrow-up:before{content:"\e91c"}.pi-bars:before{content:"\e91d"}.pi-arrow-circle-down:before{content:"\e91e"}.pi-arrow-circle-left:before{content:"\e91f"}.pi-arrow-circle-right:before{content:"\e920"}.pi-arrow-circle-up:before{content:"\e921"}.pi-info:before{content:"\e923"}.pi-info-circle:before{content:"\e924"}.pi-home:before{content:"\e925"}.pi-spinner:before{content:"\e926"}.bee-btn.bee-btn-primary.p-button:not(a):not(.p-disabled):hover{background:var(--primary-light-color)}.bee-btn.bee-btn-secondary.p-button:not(a):not(.p-disabled):hover{background:var(--secondary-light-color)}.bee-btn.bee-btn-light.p-button{background-color:var(--surface-a);color:var(--primary-color)}.bee-btn.bee-btn-light.p-button:not(a):not(.p-disabled):hover{background-color:var(--primary-color-4);color:var(--primary-color)}.bee-btn.bee-btn-light.p-button:not(a):not(.p-disabled):active{background-color:var(--primary-light-active-color);color:var(--primary-color)}.bee-btn.bee-btn-light.p-button:not(a):not(.p-disabled):focus{background:var(--primary-color-12)}.bee-btn.bee-btn-light.p-button:hover:before{background-color:var(--surface-a);content:"";height:0;position:absolute;right:0;top:0;width:0}.bee-error-label,.bee-info-neutral-label,.bee-info-valid-label{-moz-hyphens:auto;-o-hyphens:auto;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.bee-info-neutral-label{color:var(--neutral-color)}.bee-info-valid-label{color:var(--valid-color)}.bee-error-label{color:var(--error-color)}.bee-info-label-small{font-size:small}.bee-info-label-medium{font-size:medium}.bee-info-label-large{font-size:x-large}.bee-checkbox,.bee-checkbox-input{display:block;position:relative;width:100%}.bee-checkbox-input{border-color:var(--primary-border-color);border-radius:4px;border-style:solid;border-width:1px;line-height:1;padding:.75rem}.bee-checkbox.bee-checkbox-primary .p-checkbox.p-highlight .p-checkbox-box{background-color:var(--primary-color-100);border-color:var(--primary-color-100)}.bee-checkbox.bee-checkbox-secondary .p-checkbox.p-highlight .p-checkbox-box{background-color:var(--secondary-color-100);border-color:var(--secondary-color-100)}.bee-checkbox.bee-checkbox-secondary .p-checkbox.p-highlight .p-checkbox-icon{color:var(--secondary-color-text)}.bee-checkbox .p-checkbox:hover{position:relative;z-index:10}.bee-checkbox .p-checkbox{display:inline-flex}.bee-checkbox-valid .bee-checkbox-input{border-color:var(--valid-color);border-width:2px}.bee-checkbox-error .bee-checkbox-input{border-color:var(--error-color);border-width:2px}.bee-checkbox-readOnly .bee-checkbox-input{border-color:transparent!important;opacity:1!important}.bee-checkbox-readOnly .p-checkbox-box{opacity:1!important}.bee-checkbox-label{background-color:var(--label-background-color);color:var(--text-color-secondary);display:block;font-size:12px;line-height:1;margin-left:7.8px;max-width:-webkit-calc(100% - 1rem);max-width:-moz-calc(100% - 1rem);max-width:calc(100% - 1rem);overflow-x:clip;padding-left:4px;padding-right:6px;pointer-events:none;position:absolute;text-overflow:ellipsis;top:-.35rem!important;transition-duration:.2s;transition-property:all;transition-timing-function:ease;white-space:nowrap}.bee-checkbox-label-required{padding-left:3px;padding-right:4px}.bee-checkbox-label .bee-checkbox-label-required-star{max-width:100%;padding-left:inherit;padding-right:inherit;position:absolute;right:0}.bee-checkbox-statusLabel{padding:.25em .25em 0 .5em}.bee-checkbox-value{display:inline-block;max-width:-webkit-calc(100% - 20px);overflow-x:clip;padding-left:7px;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}.bee-checkbox-readOnly .bee-checkbox-value{vertical-align:text-top}.bee-checkbox-disabled .bee-checkbox-input{opacity:.38;pointer-events:none}
package/dist/index.d.ts CHANGED
@@ -1,9 +1,10 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React from 'react';
3
+ import { CheckboxChangeEvent } from 'primereact/checkbox';
3
4
 
4
5
  type BeeButtonProps = {
5
6
  /** A unique identifier for the button. */
6
- id?: string;
7
+ id?: string | undefined;
7
8
  /** Additional CSS class names to apply to the button. */
8
9
  className?: string;
9
10
  /** The text displayed on the button. */
@@ -21,4 +22,30 @@ type BeeButtonProps = {
21
22
  /**A customizable button component for use in web applications.*/
22
23
  declare function BeeButton({ id, className, label, disabled, type, tooltip, isLoading, onClick }: BeeButtonProps): react_jsx_runtime.JSX.Element;
23
24
 
24
- export { BeeButton };
25
+ type BeeLabelProps = {
26
+ id?: string | undefined;
27
+ className?: string;
28
+ value: string | undefined;
29
+ size: "small" | "medium" | "large";
30
+ type: "neutral" | "valid" | "error";
31
+ };
32
+ declare function BeeLabel({ id, className, value, size, type }: BeeLabelProps): react_jsx_runtime.JSX.Element;
33
+
34
+ type BeeCheckboxProps = {
35
+ id?: string | undefined;
36
+ className?: string;
37
+ label: string;
38
+ value: boolean;
39
+ disabled?: boolean;
40
+ required?: boolean;
41
+ readOnly?: boolean;
42
+ stateFalse: string;
43
+ stateTrue: string;
44
+ statusLabel?: string;
45
+ type: "primary" | "secondary";
46
+ formstate?: "valid" | "error" | "neutral" | "none";
47
+ onChange?: (event: CheckboxChangeEvent) => void;
48
+ };
49
+ declare function BeeCheckbox({ id, className, label, value, disabled, statusLabel, type, formstate, stateTrue, stateFalse, required, readOnly, onChange, }: BeeCheckboxProps): react_jsx_runtime.JSX.Element;
50
+
51
+ export { BeeButton, BeeCheckbox, BeeLabel };
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("primereact/button");require("primeicons/primeicons.css");var r,i={};var o=(r||(r=1,function(e){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(t),i="id",o=0;function u(e){return o++,"".concat(e||i).concat(o)}function a(e){var t=r.default.useRef();return r.default.useEffect(function(){t.current=e}),t.current}e.default=u,e.resetId=function(){o=0},e.setPrefix=function(e){i=e},e.useId=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1?arguments[1]:void 0,n=r.default.useRef([]),i=a(e),o=a(t);return e===i&&o===t||(n.current=function(e,t){for(var n=[],r=0;r<e;r++)n.push(u(t));return n}(e,t)),n.current}}(i)),i);exports.BeeButton=function({id:t,className:r,label:i,disabled:u,type:a,tooltip:c,isLoading:s,onClick:d}){const l=o.useId(1,"bee-button-")[0],f="bee-btn "+("primary"===a?"bee-btn-primary":"secondary"===a?"p-button-secondary bee-btn-secondary":"danger"===a?"p-button-danger bee-btn-danger":"light"===a?"bee-btn-light":"bee-btn-primary")+(r?" "+r:"");return e.jsx(n.Button,{id:t||l,loading:!!s,iconPos:"right",disabled:u||!1,label:i,tooltip:c||void 0,tooltipOptions:{showOnDisabled:!0},onClick:e=>function(e){!u&&d&&d(e)}(e),className:f})};
1
+ "use strict";var e,a=require("react/jsx-runtime"),n=require("react"),r=require("primereact/button"),l=require("primereact/checkbox"),t={};var c=(e||(e=1,function(e){function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(e,"__esModule",{value:!0});var r=a(n),l="id",t=0;function c(e){return t++,"".concat(e||l).concat(t)}function s(e){var a=r.default.useRef();return r.default.useEffect(function(){a.current=e}),a.current}e.default=c,e.resetId=function(){t=0},e.setPrefix=function(e){l=e},e.useId=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,a=arguments.length>1?arguments[1]:void 0,n=r.default.useRef([]),l=s(e),t=s(a);return e===l&&t===a||(n.current=function(e,a){for(var n=[],r=0;r<e;r++)n.push(c(a));return n}(e,a)),n.current}}(t)),t);function s({id:e,className:n,value:r,size:l,type:t}){const s=e||c.useId(1,"bee-info-label-")[0],i="bee-label "+("neutral"===t?" bee-info-neutral-label":"valid"===t?" bee-info-valid-label":"error"===t?" bee-error-label":"")+("small"===l?" bee-info-label-small":"medium"===l?" bee-info-label-medium":"large"===l?" bee-info-label-large":" bee-info-label-medium")+(n?" "+n:"");return a.jsx("span",{id:s,className:i,children:r})}exports.BeeButton=function({id:e,className:n,label:l,disabled:t,type:s,tooltip:i,isLoading:o,onClick:b}){const u=c.useId(1,"bee-button-")[0],d="bee-btn "+("primary"===s?"bee-btn-primary":"secondary"===s?"p-button-secondary bee-btn-secondary":"danger"===s?"p-button-danger bee-btn-danger":"light"===s?"bee-btn-light":"bee-btn-primary")+(n?" "+n:"");return a.jsx(r.Button,{id:e||u,loading:!!o,iconPos:"right",disabled:t||!1,label:l,tooltip:i||void 0,tooltipOptions:{showOnDisabled:!0},onClick:e=>function(e){!t&&b&&b(e)}(e),className:d})},exports.BeeCheckbox=function({id:e,className:n,label:r,value:t,disabled:i,statusLabel:o,type:b,formstate:u,stateTrue:d,stateFalse:h,required:x,readOnly:m,onChange:p}){const f=e||c.useId(1,"bee-checkbox-")[0],k=f+"input",v="primary"===b?" bee-checkbox-primary":"secondary"===b?" bee-checkbox-secondary":" bee-checkbox-primary";let y="";m&&(y=" bee-checkbox-readOnly",i=!0);const j="bee-checkbox "+("valid"===u?" bee-checkbox-valid":"error"===u?" bee-checkbox-error":"neutral"===u?" bee-checkbox-neutral":"none"===u?" bee-checkbox-field-neutral":" bee-checkbox-neutral")+y+(i?" bee-checkbox-disabled":"")+v;return a.jsxs("div",{className:null!=n?n:"",children:[a.jsxs("span",{id:f,className:j,onKeyDown:e=>{!function(e){e.stopPropagation(),"Enter"===e.key&&p&&p({checked:!t})}(e)},children:[a.jsxs("div",{className:"bee-checkbox-input",children:[m?a.jsx(a.Fragment,{children:t?a.jsx("i",{className:"pi pi-check"}):a.jsx("i",{className:"pi pi-times"})}):a.jsx(l.Checkbox,{inputId:k,checked:t,onChange:e=>function(e){!i&&p&&p(e)}(e),className:v}),a.jsx("label",{className:"bee-checkbox-value",htmlFor:k,children:!0===t?d:h})]}),r?a.jsxs("label",{htmlFor:k,className:"bee-checkbox-label",children:[r,x?a.jsx("span",{className:"bee-checkbox-label-required",children:a.jsx("span",{className:"bee-checkbox-label-required-star",children:" *"})}):null]}):null]}),"none"!=u&&o?(()=>{const e="medium";return a.jsx("div",{className:"bee-checkbox-statusLabel",children:"error"===u&&o?a.jsx(s,{size:e,value:o,type:"error"}):"valid"===u&&o?a.jsx(s,{size:e,value:o,type:"valid"}):"neutral"===u&&o?a.jsx(s,{size:e,value:o,type:"neutral"}):null})})():null]})},exports.BeeLabel=s;
2
2
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../node_modules/react-id-generator/lib/index.js","../src/components/atoms/buttons/BeeButton.tsx"],"sourcesContent":["'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar React = require('react');\n\nfunction _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\nvar React__default = /*#__PURE__*/_interopDefaultLegacy(React);\n\nvar globalPrefix = \"id\";\nvar lastId = 0;\nfunction nextId(localPrefix) {\n lastId++;\n return \"\".concat(localPrefix || globalPrefix).concat(lastId);\n}\nvar resetId = function resetId() {\n lastId = 0;\n};\nvar setPrefix = function setPrefix(newPrefix) {\n globalPrefix = newPrefix;\n};\n\nvar getIds = function getIds(count, prefix) {\n var ids = [];\n\n for (var i = 0; i < count; i++) {\n ids.push(nextId(prefix));\n }\n\n return ids;\n};\n\nfunction usePrevious(value) {\n var ref = React__default['default'].useRef();\n React__default['default'].useEffect(function () {\n ref.current = value;\n });\n return ref.current;\n}\n\nfunction useId() {\n var count = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n var prefix = arguments.length > 1 ? arguments[1] : undefined;\n var idsListRef = React__default['default'].useRef([]);\n var prevCount = usePrevious(count);\n var prevPrefix = usePrevious(prefix);\n\n if (count !== prevCount || prevPrefix !== prefix) {\n idsListRef.current = getIds(count, prefix);\n }\n\n return idsListRef.current;\n}\n\nexports['default'] = nextId;\nexports.resetId = resetId;\nexports.setPrefix = setPrefix;\nexports.useId = useId;\n",null],"names":["_interopDefaultLegacy","e","default","Object","defineProperty","exports","value","React__default","require$$0","globalPrefix","lastId","nextId","localPrefix","concat","usePrevious","ref","useRef","useEffect","current","resetId","setPrefix","newPrefix","useId","count","arguments","length","undefined","prefix","idsListRef","prevCount","prevPrefix","ids","i","push","getIds","id","className","label","disabled","type","tooltip","isLoading","onClick","currentId","classNames","_jsx","Button","loading","iconPos","tooltipOptions","showOnDisabled","clicked"],"mappings":"6KAMA,SAASA,EAAuBC,GAAK,OAAOA,GAAkB,iBAANA,GAAkB,YAAaA,EAAIA,EAAI,CAAEC,Q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GAAUQ,EACdI,UAASN,EACTO,QAAQ,QACRV,SAAUA,IAAsB,EAChCD,MAAOA,EACPG,QAASA,QAAoBd,EAC7BuB,eAAgB,CACdC,gBAAgB,GAElBR,QAAUzC,GAjBd,SAAiBA,IACVqC,GAAYI,GACfA,EAAQzC,EAEZ,CAaoBkD,CAAQlD,GACxBmC,UAAWQ,GAGjB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../node_modules/react-id-generator/lib/index.js","../src/components/atoms/label/BeeLabel.tsx","../src/components/atoms/buttons/BeeButton.tsx","../src/components/atoms/select/BeeCheckbox.tsx","../src/utils/keyCode.tsx"],"sourcesContent":["'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar React = require('react');\n\nfunction _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\nvar React__default = /*#__PURE__*/_interopDefaultLegacy(React);\n\nvar globalPrefix = \"id\";\nvar lastId = 0;\nfunction nextId(localPrefix) {\n lastId++;\n return \"\".concat(localPrefix || globalPrefix).concat(lastId);\n}\nvar resetId = function resetId() {\n lastId = 0;\n};\nvar setPrefix = function setPrefix(newPrefix) {\n globalPrefix = newPrefix;\n};\n\nvar getIds = function getIds(count, prefix) {\n var ids = [];\n\n for (var i = 0; i < count; i++) {\n ids.push(nextId(prefix));\n }\n\n return ids;\n};\n\nfunction usePrevious(value) {\n var ref = React__default['default'].useRef();\n React__default['default'].useEffect(function () {\n ref.current = value;\n });\n return ref.current;\n}\n\nfunction useId() {\n var count = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n var prefix = arguments.length > 1 ? arguments[1] : undefined;\n var idsListRef = React__default['default'].useRef([]);\n var prevCount = usePrevious(count);\n var prevPrefix = usePrevious(prefix);\n\n if (count !== prevCount || prevPrefix !== prefix) {\n idsListRef.current = getIds(count, prefix);\n }\n\n return idsListRef.current;\n}\n\nexports['default'] = nextId;\nexports.resetId = resetId;\nexports.setPrefix = setPrefix;\nexports.useId = useId;\n",null,null,null,null],"names":["_interopDefaultLegacy","e","default","Object","defineProperty","exports","value","React__default","require$$0","globalPrefix","lastId","nextId","localPrefix","concat","usePrevious","ref","useRef","useEffect","current","resetId","setPrefix","newPrefix","useId","count","arguments","length","undefined","prefix","idsListRef","prevCount","prevPrefix","ids","i","push","getIds","BeeLabel","id","className","size","type","currentId","classNames","_jsx","children","label","disabled","tooltip","isLoading","onClick","Button","loading","iconPos","tooltipOptions","showOnDisabled","clicked","statusLabel","formstate","stateTrue","stateFalse","required","readOnly","onChange","inputId","typeClassNames","readOnlyClassnames","_jsxs","onKeyDown","stopPropagation","key","checked","onKeyPressCheckbox","_Fragment","Checkbox","change","htmlFor","textSize","renderStatusLabel"],"mappings":"qKAMA,SAASA,EAAuBC,GAAK,OAAOA,GAAkB,iBAANA,GAAkB,YAAaA,EAAIA,EAAI,CAAEC,QAAWD,EAAI,CAJhHE,OAAOC,eAAcC,EAAU,aAAc,CAAEC,OAAO,IAMtD,IAAIC,EAA8BP,EAJtBQ,GAMRC,EAAe,KACfC,EAAS,EACb,SAASC,EAAOC,GAEd,OADAF,IACO,GAAGG,OAAOD,GAAeH,GAAcI,OAAOH,EACvD,CAkBA,SAASI,EAAYR,GACnB,IAAIS,EAAMR,EAAwB,QAAES,SAIpC,OAHAT,EAAwB,QAAEU,UAAU,WAClCF,EAAIG,QAAUZ,CAClB,GACSS,EAAIG,OACb,CAgBAb,EAAiB,QAAIM,EACrBN,EAAAc,QAxCc,WACZT,EAAS,CACX,EAuCAL,EAAAe,UAtCgB,SAAmBC,GACjCZ,EAAeY,CACjB,EAqCAhB,EAAAiB,MAjBA,WACE,IAAIC,EAAQC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,EAC5EG,EAASH,UAAUC,OAAS,EAAID,UAAU,QAAKE,EAC/CE,EAAarB,EAAwB,QAAES,OAAO,IAC9Ca,EAAYf,EAAYS,GACxBO,EAAahB,EAAYa,GAM7B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QAASZ,EAASzB,UA1ET,qBA0EmCM,SAAA,CAChDC,EACAe,EACCjB,EAAAA,YAAML,UAnEQ,8BAmEoBM,SAChCD,EAAAA,IAAA,OAAA,CAAML,UAnEU,qDAqEhB,QAEJ,QAEQ,QAAbmB,GAAuBD,EA7CF,MACxB,MAAMoB,EAAW,SACjB,OACEjC,EAAAA,WAAKL,UAAW,2BAA0BM,SACzB,UAAda,GAAyBD,EACxBb,MAACP,EAAQ,CAACG,KAAMqC,EAAUrE,MAAOiD,EAAahB,KAAK,UACnC,UAAdiB,GAAyBD,EAC3Bb,EAAAA,IAACP,EAAQ,CAACG,KAAMqC,EAAUrE,MAAOiD,EAAahB,KAAK,UACnC,YAAdiB,GAA2BD,EAC7Bb,EAAAA,IAACP,GAASG,KAAMqC,EAAUrE,MAAOiD,EAAahB,KAAK,YACjD,QAmCgCqC,GAAsB,OAGlE","x_google_ignoreList":[0]}
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import{jsx as e}from"react/jsx-runtime";import t from"react";import{Button as n}from"primereact/button";import"primeicons/primeicons.css";var r,o={};var i=(r||(r=1,function(e){function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(e,"__esModule",{value:!0});var r=n(t),o="id",i=0;function u(e){return i++,"".concat(e||o).concat(i)}function a(e){var t=r.default.useRef();return r.default.useEffect(function(){t.current=e}),t.current}e.default=u,e.resetId=function(){i=0},e.setPrefix=function(e){o=e},e.useId=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1?arguments[1]:void 0,n=r.default.useRef([]),o=a(e),i=a(t);return e===o&&i===t||(n.current=function(e,t){for(var n=[],r=0;r<e;r++)n.push(u(t));return n}(e,t)),n.current}}(o)),o);function u({id:t,className:r,label:o,disabled:u,type:a,tooltip:c,isLoading:d,onClick:s}){const f=i.useId(1,"bee-button-")[0];return e(n,{id:t||f,loading:!!d,iconPos:"right",disabled:u||!1,label:o,tooltip:c||void 0,tooltipOptions:{showOnDisabled:!0},onClick:e=>function(e){!u&&s&&s(e)}(e),className:"bee-btn "+("primary"===a?"bee-btn-primary":"secondary"===a?"p-button-secondary bee-btn-secondary":"danger"===a?"p-button-danger bee-btn-danger":"light"===a?"bee-btn-light":"bee-btn-primary")+(r?" "+r:"")})}export{u as BeeButton};
1
+ import{jsx as e,jsxs as a,Fragment as n}from"react/jsx-runtime";import l from"react";import{Button as r}from"primereact/button";import{Checkbox as t}from"primereact/checkbox";var c,i={};var o=(c||(c=1,function(e){function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(e,"__esModule",{value:!0});var n=a(l),r="id",t=0;function c(e){return t++,"".concat(e||r).concat(t)}function i(e){var a=n.default.useRef();return n.default.useEffect(function(){a.current=e}),a.current}e.default=c,e.resetId=function(){t=0},e.setPrefix=function(e){r=e},e.useId=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,a=arguments.length>1?arguments[1]:void 0,l=n.default.useRef([]),r=i(e),t=i(a);return e===r&&t===a||(l.current=function(e,a){for(var n=[],l=0;l<e;l++)n.push(c(a));return n}(e,a)),l.current}}(i)),i);function b({id:a,className:n,label:l,disabled:t,type:c,tooltip:i,isLoading:b,onClick:s}){const u=o.useId(1,"bee-button-")[0];return e(r,{id:a||u,loading:!!b,iconPos:"right",disabled:t||!1,label:l,tooltip:i||void 0,tooltipOptions:{showOnDisabled:!0},onClick:e=>function(e){!t&&s&&s(e)}(e),className:"bee-btn "+("primary"===c?"bee-btn-primary":"secondary"===c?"p-button-secondary bee-btn-secondary":"danger"===c?"p-button-danger bee-btn-danger":"light"===c?"bee-btn-light":"bee-btn-primary")+(n?" "+n:"")})}function s({id:a,className:n,value:l,size:r,type:t}){const c=a||o.useId(1,"bee-info-label-")[0];return e("span",{id:c,className:"bee-label "+("neutral"===t?" bee-info-neutral-label":"valid"===t?" bee-info-valid-label":"error"===t?" bee-error-label":"")+("small"===r?" bee-info-label-small":"medium"===r?" bee-info-label-medium":"large"===r?" bee-info-label-large":" bee-info-label-medium")+(n?" "+n:""),children:l})}function u({id:l,className:r,label:c,value:i,disabled:b,statusLabel:u,type:d,formstate:m,stateTrue:h,stateFalse:f,required:p,readOnly:k,onChange:v}){const y=l||o.useId(1,"bee-checkbox-")[0],x=y+"input",N="primary"===d?" bee-checkbox-primary":"secondary"===d?" bee-checkbox-secondary":" bee-checkbox-primary";let g="";k&&(g=" bee-checkbox-readOnly",b=!0);return a("div",{className:null!=r?r:"",children:[a("span",{id:y,className:"bee-checkbox "+("valid"===m?" bee-checkbox-valid":"error"===m?" bee-checkbox-error":"neutral"===m?" bee-checkbox-neutral":"none"===m?" bee-checkbox-field-neutral":" bee-checkbox-neutral")+g+(b?" bee-checkbox-disabled":"")+N,onKeyDown:e=>{!function(e){e.stopPropagation(),"Enter"===e.key&&v&&v({checked:!i})}(e)},children:[a("div",{className:"bee-checkbox-input",children:[k?e(n,{children:e("i",i?{className:"pi pi-check"}:{className:"pi pi-times"})}):e(t,{inputId:x,checked:i,onChange:e=>function(e){!b&&v&&v(e)}(e),className:N}),e("label",{className:"bee-checkbox-value",htmlFor:x,children:!0===i?h:f})]}),c?a("label",{htmlFor:x,className:"bee-checkbox-label",children:[c,p?e("span",{className:"bee-checkbox-label-required",children:e("span",{className:"bee-checkbox-label-required-star",children:" *"})}):null]}):null]}),"none"!=m&&u?(()=>{const a="medium";return e("div",{className:"bee-checkbox-statusLabel",children:"error"===m&&u?e(s,{size:a,value:u,type:"error"}):"valid"===m&&u?e(s,{size:a,value:u,type:"valid"}):"neutral"===m&&u?e(s,{size:a,value:u,type:"neutral"}):null})})():null]})}export{b as BeeButton,u as BeeCheckbox,s as BeeLabel};
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../node_modules/react-id-generator/lib/index.js","../src/components/atoms/buttons/BeeButton.tsx"],"sourcesContent":["'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar React = require('react');\n\nfunction _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\nvar React__default = /*#__PURE__*/_interopDefaultLegacy(React);\n\nvar globalPrefix = \"id\";\nvar lastId = 0;\nfunction nextId(localPrefix) {\n lastId++;\n return \"\".concat(localPrefix || globalPrefix).concat(lastId);\n}\nvar resetId = function resetId() {\n lastId = 0;\n};\nvar setPrefix = function setPrefix(newPrefix) {\n globalPrefix = newPrefix;\n};\n\nvar getIds = function getIds(count, prefix) {\n var ids = [];\n\n for (var i = 0; i < count; i++) {\n ids.push(nextId(prefix));\n }\n\n return ids;\n};\n\nfunction usePrevious(value) {\n var ref = React__default['default'].useRef();\n React__default['default'].useEffect(function () {\n ref.current = value;\n });\n return ref.current;\n}\n\nfunction useId() {\n var count = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n var prefix = arguments.length > 1 ? arguments[1] : undefined;\n var idsListRef = React__default['default'].useRef([]);\n var prevCount = usePrevious(count);\n var prevPrefix = usePrevious(prefix);\n\n if (count !== prevCount || prevPrefix !== prefix) {\n idsListRef.current = getIds(count, prefix);\n }\n\n return idsListRef.current;\n}\n\nexports['default'] = nextId;\nexports.resetId = resetId;\nexports.setPrefix = setPrefix;\nexports.useId = useId;\n",null],"names":["_interopDefaultLegacy","e","default","Object","defineProperty","exports","value","React__default","require$$0","globalPrefix","lastId","nextId","localPrefix","concat","usePrevious","ref","useRef","useEffect","current","resetId","setPrefix","newPrefix","useId","count","arguments","length","undefined","prefix","idsListRef","prevCount","prevPrefix","ids","i","push","getIds","BeeButton","id","className","label","disabled","type","tooltip","isLoading","onClick","currentId","_jsx","Button","loading","iconPos","tooltipOptions","showOnDisabled","clicked"],"mappings":"gLAMA,SAASA,EAAuBC,GAAK,OAAOA,GAAkB,iBAANA,GAAkB,YAAaA,EAAIA,EAAI,CAAEC,QAAWD,EAAI,CAJhHE,OAAOC,eAAcC,EAAU,aAAc,CAAEC,OAAO,IAMtD,IAAIC,EAA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oBkD,CAAQlD,GACxBoC,UApBe,YAVR,YAATG,EACI,kBACS,cAATA,EACE,uCACS,WAATA,EACE,iCACS,UAATA,EACE,gBACA,oBAEsCH,EAAY,IAAMA,EAAY,KAuBlF","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.mjs","sources":["../node_modules/react-id-generator/lib/index.js","../src/components/atoms/buttons/BeeButton.tsx","../src/components/atoms/label/BeeLabel.tsx","../src/components/atoms/select/BeeCheckbox.tsx","../src/utils/keyCode.tsx"],"sourcesContent":["'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar React = require('react');\n\nfunction _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\nvar React__default = /*#__PURE__*/_interopDefaultLegacy(React);\n\nvar globalPrefix = \"id\";\nvar lastId = 0;\nfunction nextId(localPrefix) {\n lastId++;\n return \"\".concat(localPrefix || globalPrefix).concat(lastId);\n}\nvar resetId = function resetId() {\n lastId = 0;\n};\nvar setPrefix = function setPrefix(newPrefix) {\n globalPrefix = newPrefix;\n};\n\nvar getIds = function getIds(count, prefix) {\n var ids = [];\n\n for (var i = 0; i < count; i++) {\n ids.push(nextId(prefix));\n }\n\n return ids;\n};\n\nfunction usePrevious(value) {\n var ref = React__default['default'].useRef();\n React__default['default'].useEffect(function () {\n ref.current = value;\n });\n return ref.current;\n}\n\nfunction useId() {\n var count = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n var prefix = arguments.length > 1 ? arguments[1] : undefined;\n var idsListRef = React__default['default'].useRef([]);\n var prevCount = usePrevious(count);\n var prevPrefix = usePrevious(prefix);\n\n if (count !== prevCount || prevPrefix !== prefix) {\n idsListRef.current = getIds(count, prefix);\n }\n\n return idsListRef.current;\n}\n\nexports['default'] = nextId;\nexports.resetId = resetId;\nexports.setPrefix = setPrefix;\nexports.useId = useId;\n",null,null,null,null],"names":["_interopDefaultLegacy","e","default","Object","defineProperty","exports","value","React__default","require$$0","globalPrefix","lastId","nextId","localPrefix","concat","usePrevious","ref","useRef","useEffect","current","resetId","setPrefix","newPrefix","useId","count","arguments","length","undefined","prefix","idsListRef","prevCount","prevPrefix","ids","i","push","getIds","BeeButton","id","className","label","disabled","type","tooltip","isLoading","onClick","currentId","_jsx","Button","loading","iconPos","tooltipOptions","showOnDisabled","clicked","BeeLabel","size","children","BeeCheckbox","statusLabel","formstate","stateTrue","stateFalse","required","readOnly","onChange","inputId","typeClassNames","readOnlyClassnames","_jsxs","onKeyDown","stopPropagation","key","checked","onKeyPressCheckbox","_Fragment","Checkbox","change","htmlFor","textSize","renderStatusLabel"],"mappings":"qNAMA,SAASA,EAAuBC,GAAK,OAAOA,GAAkB,iBAANA,GAAkB,YAAaA,EAAIA,EAAI,CAAEC,QAAWD,EAAI,CAJhHE,OAAOC,eAAcC,EAAU,aAAc,CAAEC,OAAO,IAMtD,IAAIC,EAA8BP,EAJtBQ,GAMRC,EAAe,KACfC,EAAS,EACb,SAASC,EAAOC,GAEd,OADAF,IACO,GAAGG,OAAOD,GAAeH,GAAcI,OAAOH,EACvD,CAkBA,SAASI,EAAYR,GACnB,IAAIS,EAAMR,EAAwB,QAAES,SAIpC,OAHAT,EAAwB,QAAEU,UAAU,WAClCF,EAAIG,QAAUZ,CAClB,GACSS,EAAIG,OACb,CAgBAb,EAAiB,QAAIM,EACrBN,EAAAc,QAxCc,WACZT,EAAS,CACX,EAuCAL,EAAAe,UAtCgB,SAAmBC,GACjCZ,EAAeY,CACjB,EAqCAhB,EAAAiB,MAjBA,WACE,IAAIC,EAAQC,UAAUC,OAAS,QAAsBC,IAAjBF,UAAU,GAAmBA,UAAU,GAAK,EAC5EG,EAASH,UAAUC,OAAS,EAAID,UAAU,QAAKE,EAC/CE,EAAarB,EAAwB,QAAES,OAAO,IAC9Ca,EAAYf,EAAYS,GACxBO,EAAahB,EAAYa,GAM7B,OAJIJ,IAAUM,GAAaC,IAAeH,IACxCC,EAAWV,QA1BF,SAAgBK,EAAOI,GAGlC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oB,EAAW,SACjB,OACE/B,SAAKR,UAAW,2BAA0BiB,SACzB,UAAdG,GAAyBD,EACxBX,EAACO,EAAQ,CAACC,KAAMuB,EAAUtE,MAAOkD,EAAahB,KAAK,UACnC,UAAdiB,GAAyBD,EAC3BX,EAACO,EAAQ,CAACC,KAAMuB,EAAUtE,MAAOkD,EAAahB,KAAK,UACnC,YAAdiB,GAA2BD,EAC7BX,EAACO,GAASC,KAAMuB,EAAUtE,MAAOkD,EAAahB,KAAK,YACjD,QAmCgCqC,GAAsB,OAGlE","x_google_ignoreList":[0]}
@@ -0,0 +1,7 @@
1
+ export const __esModule: boolean;
2
+ export default nextId;
3
+ declare function nextId(localPrefix: any): string;
4
+ export function resetId(): void;
5
+ export function setPrefix(newPrefix: any): void;
6
+ export function useId(...args: any[]): any;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../node_modules/react-id-generator/lib/index.js"],"names":[],"mappings":";;AAYA,kDAGC;AACD,gCAEC;AACD,gDAEC;AAoBD,2CAYC"}
@@ -0,0 +1,24 @@
1
+ import React from "react";
2
+ import "primeicons/primeicons.css";
3
+ import "./BeeButton.scss";
4
+ type BeeButtonProps = {
5
+ /** A unique identifier for the button. */
6
+ id?: string;
7
+ /** Additional CSS class names to apply to the button. */
8
+ className?: string;
9
+ /** The text displayed on the button. */
10
+ label: string;
11
+ /** Disables the button if set to `true`. */
12
+ disabled?: boolean;
13
+ /** Specifies the type of button. */
14
+ type: "primary" | "secondary" | "danger" | "light";
15
+ /** Displays a loading indicator if set to `true`. */
16
+ tooltip?: string;
17
+ isLoading?: boolean;
18
+ /** Callback function invoked when the button is clicked. */
19
+ onClick?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
20
+ };
21
+ /**A customizable button component for use in web applications.*/
22
+ export declare function BeeButton({ id, className, label, disabled, type, tooltip, isLoading, onClick }: BeeButtonProps): import("react/jsx-runtime").JSX.Element;
23
+ export default BeeButton;
24
+ //# sourceMappingURL=BeeButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BeeButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/buttons/BeeButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,2BAA2B,CAAC;AAEnC,OAAO,kBAAkB,CAAC;AAE1B,KAAK,cAAc,GAAG;IACpB,0CAA0C;IAC1C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oCAAoC;IACpC,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,OAAO,CAAC;IACnD,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;CACxE,CAAC;AAEF,iEAAiE;AACjE,wBAAgB,SAAS,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,cAAc,2CAsC9G;AAED,eAAe,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as BeeButton } from "./BeeButton";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/atoms/buttons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./buttons";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./atoms";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import "./aa_style/generaltheme.css";
2
+ export * from "./components";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,6BAA6B,CAAC;AAErC,cAAc,cAAc,CAAC"}
@@ -0,0 +1,16 @@
1
+ import './button.css';
2
+ export interface ButtonProps {
3
+ /** Is this the principal call to action on the page? */
4
+ primary?: boolean;
5
+ /** What background color to use */
6
+ backgroundColor?: string;
7
+ /** How large should the button be? */
8
+ size?: 'small' | 'medium' | 'large';
9
+ /** Button contents */
10
+ label: string;
11
+ /** Optional click handler */
12
+ onClick?: () => void;
13
+ }
14
+ /** Primary UI component for user interaction */
15
+ export declare const Button: ({ primary, size, backgroundColor, label, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
16
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/stories/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,WAAW;IAC1B,wDAAwD;IACxD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mCAAmC;IACnC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sCAAsC;IACtC,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,sBAAsB;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,6BAA6B;IAC7B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,gDAAgD;AAChD,eAAO,MAAM,MAAM,GAAI,qDAMpB,WAAW,4CAYb,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { StoryObj } from "@storybook/react-webpack5";
2
+ declare const meta: Meta<({ primary, size, backgroundColor, label, ...props }: import("./Button").ButtonProps) => import("react/jsx-runtime").JSX.Element>;
3
+ export default meta;
4
+ type Story = StoryObj<typeof meta>;
5
+ export declare const Primary: Story;
6
+ export declare const Secondary: Story;
7
+ export declare const Large: Story;
8
+ export declare const Small: Story;
9
+ //# sourceMappingURL=Button.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.stories.d.ts","sourceRoot":"","sources":["../../src/stories/Button.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAOhE,QAAA,MAAM,IAAI,wIAeqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAGnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import './header.css';
2
+ type User = {
3
+ name: string;
4
+ };
5
+ export interface HeaderProps {
6
+ user?: User;
7
+ onLogin?: () => void;
8
+ onLogout?: () => void;
9
+ onCreateAccount?: () => void;
10
+ }
11
+ export declare const Header: ({ user, onLogin, onLogout, onCreateAccount }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
12
+ export {};
13
+ //# sourceMappingURL=Header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../src/stories/Header.tsx"],"names":[],"mappings":"AACA,OAAO,cAAc,CAAC;AAEtB,KAAK,IAAI,GAAG;IACV,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,eAAO,MAAM,MAAM,GAAI,8CAA8C,WAAW,4CAuC/E,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { StoryObj } from '@storybook/react-webpack5';
2
+ declare const meta: Meta<({ user, onLogin, onLogout, onCreateAccount }: import("./Header").HeaderProps) => import("react/jsx-runtime").JSX.Element>;
3
+ export default meta;
4
+ type Story = StoryObj<typeof meta>;
5
+ export declare const LoggedIn: Story;
6
+ export declare const LoggedOut: Story;
7
+ //# sourceMappingURL=Header.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.stories.d.ts","sourceRoot":"","sources":["../../src/stories/Header.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAMhE,QAAA,MAAM,IAAI,iIAcqB,CAAC;AAEhC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAAU,CAAC"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './page.css';
3
+ export declare const Page: React.FC;
4
+ //# sourceMappingURL=Page.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Page.d.ts","sourceRoot":"","sources":["../../src/stories/Page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,YAAY,CAAC;AAMpB,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EA+DxB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { StoryObj } from '@storybook/react-webpack5';
2
+ declare const meta: Meta<import("react").FC<{}>>;
3
+ export default meta;
4
+ type Story = StoryObj<typeof meta>;
5
+ export declare const LoggedOut: Story;
6
+ export declare const LoggedIn: Story;
7
+ //# sourceMappingURL=Page.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Page.stories.d.ts","sourceRoot":"","sources":["../../src/stories/Page.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAMhE,QAAA,MAAM,IAAI,8BAOmB,CAAC;AAE9B,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,SAAS,EAAE,KAAU,CAAC;AAGnC,eAAO,MAAM,QAAQ,EAAE,KAWtB,CAAC"}
@@ -0,0 +1,14 @@
1
+ export declare const enter = 13;
2
+ export declare const escape = 27;
3
+ export declare const spacebar = 32;
4
+ export declare const leftArrow = 37;
5
+ export declare const upArrow = 38;
6
+ export declare const rightArrow = 39;
7
+ export declare const downArrow = 40;
8
+ export declare const ENTER_KEY = "Enter";
9
+ export declare const ESCAPE_KEY = "Escape";
10
+ export declare const LEFTARROW_KEY = "ArrowLeft";
11
+ export declare const UPARROW_KEY = "ArrowUp";
12
+ export declare const RIGHTARROW_KEY = "ArrowRight";
13
+ export declare const DOWNARROW_KEY = "ArrowDown";
14
+ //# sourceMappingURL=keyCode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keyCode.d.ts","sourceRoot":"","sources":["../../src/utils/keyCode.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,KAAK,CAAC;AACxB,eAAO,MAAM,MAAM,KAAK,CAAC;AACzB,eAAO,MAAM,QAAQ,KAAK,CAAC;AAC3B,eAAO,MAAM,SAAS,KAAK,CAAC;AAC5B,eAAO,MAAM,OAAO,KAAK,CAAC;AAC1B,eAAO,MAAM,UAAU,KAAK,CAAC;AAC7B,eAAO,MAAM,SAAS,KAAK,CAAC;AAE5B,eAAO,MAAM,SAAS,UAAU,CAAC;AACjC,eAAO,MAAM,UAAU,WAAW,CAAC;AACnC,eAAO,MAAM,aAAa,cAAc,CAAC;AACzC,eAAO,MAAM,WAAW,YAAY,CAAC;AACrC,eAAO,MAAM,cAAc,eAAe,CAAC;AAC3C,eAAO,MAAM,aAAa,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "honeycombatomiclib",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "This is an atomic component library used by beestate.io",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -23,25 +23,33 @@
23
23
  "@rollup/plugin-node-resolve": "^16.0.3",
24
24
  "@rollup/plugin-terser": "^0.4.4",
25
25
  "@rollup/plugin-typescript": "^12.3.0",
26
+ "@storybook/addon-a11y": "^10.2.1",
27
+ "@storybook/addon-docs": "^10.2.1",
28
+ "@storybook/addon-webpack5-compiler-swc": "^4.0.2",
29
+ "@storybook/react-webpack5": "^10.2.1",
30
+ "css-loader": "^7.1.2",
31
+ "primeicons": "^7.0.0",
32
+ "primereact": "^10.9.7",
26
33
  "react": "^19.2.4",
34
+ "react-dom": "^19.2.4",
35
+ "rollup": "^4.57.0",
27
36
  "rollup-plugin-dts": "^6.3.0",
28
37
  "rollup-plugin-peer-deps-external": "^2.2.4",
29
38
  "rollup-plugin-postcss": "^4.0.2",
30
39
  "sass": "^1.97.3",
40
+ "sass-loader": "^16.0.2",
41
+ "style-loader": "^4.0.0",
42
+ "storybook": "^10.2.1",
31
43
  "tslib": "^2.8.1",
32
44
  "typescript": "^5.9.3"
33
45
  },
34
46
  "peerDependencies": {
35
- "react": "^19.2.4",
36
- "react-dom": "^19.2.4",
47
+ "primeflex": "^4.0.0 || ^3.3.1",
37
48
  "primereact": "^10.9.7",
38
- "primeicons": "^10.9.7"
49
+ "react": "^19.2.4",
50
+ "typescript": "^5.9.3"
39
51
  },
40
52
  "dependencies": {
41
- "@types/react": "^19.2.10",
42
- "node-sass": "^9.0.0",
43
- "primereact": "^10.9.7",
44
- "react-id-generator": "^3.0.2",
45
- "rollup": "^4.57.0"
53
+ "react-id-generator": "^3.0.2"
46
54
  }
47
55
  }