@hpe-web/components 0.0.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +3704 -0
- package/dist/elements/hpe-accordion/hpe-accordion.d.ts +59 -0
- package/dist/elements/hpe-accordion/hpe-accordion.d.ts.map +1 -0
- package/dist/elements/hpe-accordion/hpe-accordion.js +206 -0
- package/dist/elements/hpe-accordion/hpe-accordion.js.map +1 -0
- package/dist/elements/hpe-accordion/hpe-accordion.styles.d.ts +2 -0
- package/dist/elements/hpe-accordion/hpe-accordion.styles.d.ts.map +1 -0
- package/dist/elements/hpe-accordion/hpe-accordion.styles.js +107 -0
- package/dist/elements/hpe-accordion/hpe-accordion.styles.js.map +1 -0
- package/dist/elements/hpe-accordion/index.d.ts +2 -0
- package/dist/elements/hpe-accordion/index.d.ts.map +1 -0
- package/dist/elements/hpe-accordion/index.js +2 -0
- package/dist/elements/hpe-accordion/index.js.map +1 -0
- package/dist/elements/hpe-agenda/hpe-agenda.d.ts +52 -0
- package/dist/elements/hpe-agenda/hpe-agenda.d.ts.map +1 -0
- package/dist/elements/hpe-agenda/hpe-agenda.js +117 -0
- package/dist/elements/hpe-agenda/hpe-agenda.js.map +1 -0
- package/dist/elements/hpe-agenda/hpe-agenda.styles.d.ts +2 -0
- package/dist/elements/hpe-agenda/hpe-agenda.styles.d.ts.map +1 -0
- package/dist/elements/hpe-agenda/hpe-agenda.styles.js +83 -0
- package/dist/elements/hpe-agenda/hpe-agenda.styles.js.map +1 -0
- package/dist/elements/hpe-agenda/index.d.ts +2 -0
- package/dist/elements/hpe-agenda/index.d.ts.map +1 -0
- package/dist/elements/hpe-agenda/index.js +2 -0
- package/dist/elements/hpe-agenda/index.js.map +1 -0
- package/dist/elements/hpe-button/hpe-button.d.ts +38 -0
- package/dist/elements/hpe-button/hpe-button.d.ts.map +1 -0
- package/dist/elements/hpe-button/hpe-button.js +99 -0
- package/dist/elements/hpe-button/hpe-button.js.map +1 -0
- package/dist/elements/hpe-button/hpe-button.styles.d.ts +2 -0
- package/dist/elements/hpe-button/hpe-button.styles.d.ts.map +1 -0
- package/dist/elements/hpe-button/hpe-button.styles.js +424 -0
- package/dist/elements/hpe-button/hpe-button.styles.js.map +1 -0
- package/dist/elements/hpe-button/index.d.ts +2 -0
- package/dist/elements/hpe-button/index.d.ts.map +1 -0
- package/dist/elements/hpe-button/index.js +2 -0
- package/dist/elements/hpe-button/index.js.map +1 -0
- package/dist/elements/hpe-button-group/hpe-button-group.d.ts +24 -0
- package/dist/elements/hpe-button-group/hpe-button-group.d.ts.map +1 -0
- package/dist/elements/hpe-button-group/hpe-button-group.js +43 -0
- package/dist/elements/hpe-button-group/hpe-button-group.js.map +1 -0
- package/dist/elements/hpe-button-group/hpe-button-group.styles.d.ts +2 -0
- package/dist/elements/hpe-button-group/hpe-button-group.styles.d.ts.map +1 -0
- package/dist/elements/hpe-button-group/hpe-button-group.styles.js +27 -0
- package/dist/elements/hpe-button-group/hpe-button-group.styles.js.map +1 -0
- package/dist/elements/hpe-button-group/index.d.ts +2 -0
- package/dist/elements/hpe-button-group/index.d.ts.map +1 -0
- package/dist/elements/hpe-button-group/index.js +2 -0
- package/dist/elements/hpe-button-group/index.js.map +1 -0
- package/dist/elements/hpe-card/hpe-card.d.ts +34 -0
- package/dist/elements/hpe-card/hpe-card.d.ts.map +1 -0
- package/dist/elements/hpe-card/hpe-card.js +71 -0
- package/dist/elements/hpe-card/hpe-card.js.map +1 -0
- package/dist/elements/hpe-card/hpe-card.styles.d.ts +2 -0
- package/dist/elements/hpe-card/hpe-card.styles.d.ts.map +1 -0
- package/dist/elements/hpe-card/hpe-card.styles.js +270 -0
- package/dist/elements/hpe-card/hpe-card.styles.js.map +1 -0
- package/dist/elements/hpe-card/index.d.ts +2 -0
- package/dist/elements/hpe-card/index.d.ts.map +1 -0
- package/dist/elements/hpe-card/index.js +2 -0
- package/dist/elements/hpe-card/index.js.map +1 -0
- package/dist/elements/hpe-carousel/hpe-carousel.d.ts +51 -0
- package/dist/elements/hpe-carousel/hpe-carousel.d.ts.map +1 -0
- package/dist/elements/hpe-carousel/hpe-carousel.js +196 -0
- package/dist/elements/hpe-carousel/hpe-carousel.js.map +1 -0
- package/dist/elements/hpe-carousel/hpe-carousel.styles.d.ts +2 -0
- package/dist/elements/hpe-carousel/hpe-carousel.styles.d.ts.map +1 -0
- package/dist/elements/hpe-carousel/hpe-carousel.styles.js +106 -0
- package/dist/elements/hpe-carousel/hpe-carousel.styles.js.map +1 -0
- package/dist/elements/hpe-carousel/index.d.ts +2 -0
- package/dist/elements/hpe-carousel/index.d.ts.map +1 -0
- package/dist/elements/hpe-carousel/index.js +2 -0
- package/dist/elements/hpe-carousel/index.js.map +1 -0
- package/dist/elements/hpe-form/hpe-form.d.ts +36 -0
- package/dist/elements/hpe-form/hpe-form.d.ts.map +1 -0
- package/dist/elements/hpe-form/hpe-form.js +85 -0
- package/dist/elements/hpe-form/hpe-form.js.map +1 -0
- package/dist/elements/hpe-form/hpe-form.styles.d.ts +2 -0
- package/dist/elements/hpe-form/hpe-form.styles.d.ts.map +1 -0
- package/dist/elements/hpe-form/hpe-form.styles.js +67 -0
- package/dist/elements/hpe-form/hpe-form.styles.js.map +1 -0
- package/dist/elements/hpe-form/index.d.ts +2 -0
- package/dist/elements/hpe-form/index.d.ts.map +1 -0
- package/dist/elements/hpe-form/index.js +2 -0
- package/dist/elements/hpe-form/index.js.map +1 -0
- package/dist/elements/hpe-horizontal-rule/hpe-horizontal-rule.d.ts +19 -0
- package/dist/elements/hpe-horizontal-rule/hpe-horizontal-rule.d.ts.map +1 -0
- package/dist/elements/hpe-horizontal-rule/hpe-horizontal-rule.js +28 -0
- package/dist/elements/hpe-horizontal-rule/hpe-horizontal-rule.js.map +1 -0
- package/dist/elements/hpe-horizontal-rule/hpe-horizontal-rule.styles.d.ts +2 -0
- package/dist/elements/hpe-horizontal-rule/hpe-horizontal-rule.styles.d.ts.map +1 -0
- package/dist/elements/hpe-horizontal-rule/hpe-horizontal-rule.styles.js +18 -0
- package/dist/elements/hpe-horizontal-rule/hpe-horizontal-rule.styles.js.map +1 -0
- package/dist/elements/hpe-horizontal-rule/index.d.ts +2 -0
- package/dist/elements/hpe-horizontal-rule/index.d.ts.map +1 -0
- package/dist/elements/hpe-horizontal-rule/index.js +2 -0
- package/dist/elements/hpe-horizontal-rule/index.js.map +1 -0
- package/dist/elements/hpe-image/hpe-image.d.ts +30 -0
- package/dist/elements/hpe-image/hpe-image.d.ts.map +1 -0
- package/dist/elements/hpe-image/hpe-image.js +61 -0
- package/dist/elements/hpe-image/hpe-image.js.map +1 -0
- package/dist/elements/hpe-image/hpe-image.styles.d.ts +2 -0
- package/dist/elements/hpe-image/hpe-image.styles.d.ts.map +1 -0
- package/dist/elements/hpe-image/hpe-image.styles.js +64 -0
- package/dist/elements/hpe-image/hpe-image.styles.js.map +1 -0
- package/dist/elements/hpe-image/index.d.ts +2 -0
- package/dist/elements/hpe-image/index.d.ts.map +1 -0
- package/dist/elements/hpe-image/index.js +2 -0
- package/dist/elements/hpe-image/index.js.map +1 -0
- package/dist/elements/hpe-input-group/hpe-input-group.d.ts +24 -0
- package/dist/elements/hpe-input-group/hpe-input-group.d.ts.map +1 -0
- package/dist/elements/hpe-input-group/hpe-input-group.js +43 -0
- package/dist/elements/hpe-input-group/hpe-input-group.js.map +1 -0
- package/dist/elements/hpe-input-group/hpe-input-group.styles.d.ts +2 -0
- package/dist/elements/hpe-input-group/hpe-input-group.styles.d.ts.map +1 -0
- package/dist/elements/hpe-input-group/hpe-input-group.styles.js +28 -0
- package/dist/elements/hpe-input-group/hpe-input-group.styles.js.map +1 -0
- package/dist/elements/hpe-input-group/index.d.ts +2 -0
- package/dist/elements/hpe-input-group/index.d.ts.map +1 -0
- package/dist/elements/hpe-input-group/index.js +2 -0
- package/dist/elements/hpe-input-group/index.js.map +1 -0
- package/dist/elements/hpe-inputs/hpe-checkbox/hpe-checkbox.d.ts +36 -0
- package/dist/elements/hpe-inputs/hpe-checkbox/hpe-checkbox.d.ts.map +1 -0
- package/dist/elements/hpe-inputs/hpe-checkbox/hpe-checkbox.js +87 -0
- package/dist/elements/hpe-inputs/hpe-checkbox/hpe-checkbox.js.map +1 -0
- package/dist/elements/hpe-inputs/hpe-checkbox/hpe-checkbox.styles.d.ts +2 -0
- package/dist/elements/hpe-inputs/hpe-checkbox/hpe-checkbox.styles.d.ts.map +1 -0
- package/dist/elements/hpe-inputs/hpe-checkbox/hpe-checkbox.styles.js +124 -0
- package/dist/elements/hpe-inputs/hpe-checkbox/hpe-checkbox.styles.js.map +1 -0
- package/dist/elements/hpe-inputs/hpe-input/hpe-input.d.ts +55 -0
- package/dist/elements/hpe-inputs/hpe-input/hpe-input.d.ts.map +1 -0
- package/dist/elements/hpe-inputs/hpe-input/hpe-input.js +161 -0
- package/dist/elements/hpe-inputs/hpe-input/hpe-input.js.map +1 -0
- package/dist/elements/hpe-inputs/hpe-input/hpe-input.styles.d.ts +2 -0
- package/dist/elements/hpe-inputs/hpe-input/hpe-input.styles.d.ts.map +1 -0
- package/dist/elements/hpe-inputs/hpe-input/hpe-input.styles.js +135 -0
- package/dist/elements/hpe-inputs/hpe-input/hpe-input.styles.js.map +1 -0
- package/dist/elements/hpe-inputs/hpe-radio/hpe-radio.d.ts +36 -0
- package/dist/elements/hpe-inputs/hpe-radio/hpe-radio.d.ts.map +1 -0
- package/dist/elements/hpe-inputs/hpe-radio/hpe-radio.js +83 -0
- package/dist/elements/hpe-inputs/hpe-radio/hpe-radio.js.map +1 -0
- package/dist/elements/hpe-inputs/hpe-radio/hpe-radio.styles.d.ts +2 -0
- package/dist/elements/hpe-inputs/hpe-radio/hpe-radio.styles.d.ts.map +1 -0
- package/dist/elements/hpe-inputs/hpe-radio/hpe-radio.styles.js +119 -0
- package/dist/elements/hpe-inputs/hpe-radio/hpe-radio.styles.js.map +1 -0
- package/dist/elements/hpe-inputs/hpe-select/hpe-select.d.ts +59 -0
- package/dist/elements/hpe-inputs/hpe-select/hpe-select.d.ts.map +1 -0
- package/dist/elements/hpe-inputs/hpe-select/hpe-select.js +224 -0
- package/dist/elements/hpe-inputs/hpe-select/hpe-select.js.map +1 -0
- package/dist/elements/hpe-inputs/hpe-select/hpe-select.styles.d.ts +2 -0
- package/dist/elements/hpe-inputs/hpe-select/hpe-select.styles.d.ts.map +1 -0
- package/dist/elements/hpe-inputs/hpe-select/hpe-select.styles.js +156 -0
- package/dist/elements/hpe-inputs/hpe-select/hpe-select.styles.js.map +1 -0
- package/dist/elements/hpe-inputs/hpe-textarea/hpe-textarea.d.ts +55 -0
- package/dist/elements/hpe-inputs/hpe-textarea/hpe-textarea.d.ts.map +1 -0
- package/dist/elements/hpe-inputs/hpe-textarea/hpe-textarea.js +166 -0
- package/dist/elements/hpe-inputs/hpe-textarea/hpe-textarea.js.map +1 -0
- package/dist/elements/hpe-inputs/hpe-textarea/hpe-textarea.styles.d.ts +2 -0
- package/dist/elements/hpe-inputs/hpe-textarea/hpe-textarea.styles.d.ts.map +1 -0
- package/dist/elements/hpe-inputs/hpe-textarea/hpe-textarea.styles.js +149 -0
- package/dist/elements/hpe-inputs/hpe-textarea/hpe-textarea.styles.js.map +1 -0
- package/dist/elements/hpe-inputs/index.d.ts +6 -0
- package/dist/elements/hpe-inputs/index.d.ts.map +1 -0
- package/dist/elements/hpe-inputs/index.js +6 -0
- package/dist/elements/hpe-inputs/index.js.map +1 -0
- package/dist/elements/hpe-list/hpe-list.d.ts +52 -0
- package/dist/elements/hpe-list/hpe-list.d.ts.map +1 -0
- package/dist/elements/hpe-list/hpe-list.js +117 -0
- package/dist/elements/hpe-list/hpe-list.js.map +1 -0
- package/dist/elements/hpe-list/hpe-list.styles.d.ts +2 -0
- package/dist/elements/hpe-list/hpe-list.styles.d.ts.map +1 -0
- package/dist/elements/hpe-list/hpe-list.styles.js +68 -0
- package/dist/elements/hpe-list/hpe-list.styles.js.map +1 -0
- package/dist/elements/hpe-list/index.d.ts +2 -0
- package/dist/elements/hpe-list/index.d.ts.map +1 -0
- package/dist/elements/hpe-list/index.js +2 -0
- package/dist/elements/hpe-list/index.js.map +1 -0
- package/dist/elements/hpe-pull-quote/hpe-pull-quote.d.ts +32 -0
- package/dist/elements/hpe-pull-quote/hpe-pull-quote.d.ts.map +1 -0
- package/dist/elements/hpe-pull-quote/hpe-pull-quote.js +102 -0
- package/dist/elements/hpe-pull-quote/hpe-pull-quote.js.map +1 -0
- package/dist/elements/hpe-pull-quote/hpe-pull-quote.styles.d.ts +2 -0
- package/dist/elements/hpe-pull-quote/hpe-pull-quote.styles.d.ts.map +1 -0
- package/dist/elements/hpe-pull-quote/hpe-pull-quote.styles.js +61 -0
- package/dist/elements/hpe-pull-quote/hpe-pull-quote.styles.js.map +1 -0
- package/dist/elements/hpe-pull-quote/index.d.ts +2 -0
- package/dist/elements/hpe-pull-quote/index.d.ts.map +1 -0
- package/dist/elements/hpe-pull-quote/index.js +2 -0
- package/dist/elements/hpe-pull-quote/index.js.map +1 -0
- package/dist/elements/hpe-tab-group/hpe-tab-group.d.ts +86 -0
- package/dist/elements/hpe-tab-group/hpe-tab-group.d.ts.map +1 -0
- package/dist/elements/hpe-tab-group/hpe-tab-group.js +275 -0
- package/dist/elements/hpe-tab-group/hpe-tab-group.js.map +1 -0
- package/dist/elements/hpe-tab-group/hpe-tab-group.styles.d.ts +2 -0
- package/dist/elements/hpe-tab-group/hpe-tab-group.styles.d.ts.map +1 -0
- package/dist/elements/hpe-tab-group/hpe-tab-group.styles.js +194 -0
- package/dist/elements/hpe-tab-group/hpe-tab-group.styles.js.map +1 -0
- package/dist/elements/hpe-tab-group/index.d.ts +2 -0
- package/dist/elements/hpe-tab-group/index.d.ts.map +1 -0
- package/dist/elements/hpe-tab-group/index.js +2 -0
- package/dist/elements/hpe-tab-group/index.js.map +1 -0
- package/dist/elements/hpe-table/hpe-table.d.ts +110 -0
- package/dist/elements/hpe-table/hpe-table.d.ts.map +1 -0
- package/dist/elements/hpe-table/hpe-table.js +262 -0
- package/dist/elements/hpe-table/hpe-table.js.map +1 -0
- package/dist/elements/hpe-table/hpe-table.styles.d.ts +2 -0
- package/dist/elements/hpe-table/hpe-table.styles.d.ts.map +1 -0
- package/dist/elements/hpe-table/hpe-table.styles.js +214 -0
- package/dist/elements/hpe-table/hpe-table.styles.js.map +1 -0
- package/dist/elements/hpe-table/index.d.ts +2 -0
- package/dist/elements/hpe-table/index.d.ts.map +1 -0
- package/dist/elements/hpe-table/index.js +2 -0
- package/dist/elements/hpe-table/index.js.map +1 -0
- package/dist/foundation/hpe-columns/hpe-columns.d.ts +40 -0
- package/dist/foundation/hpe-columns/hpe-columns.d.ts.map +1 -0
- package/dist/foundation/hpe-columns/hpe-columns.js +78 -0
- package/dist/foundation/hpe-columns/hpe-columns.js.map +1 -0
- package/dist/foundation/hpe-columns/hpe-columns.styles.d.ts +2 -0
- package/dist/foundation/hpe-columns/hpe-columns.styles.d.ts.map +1 -0
- package/dist/foundation/hpe-columns/hpe-columns.styles.js +110 -0
- package/dist/foundation/hpe-columns/hpe-columns.styles.js.map +1 -0
- package/dist/foundation/hpe-columns/index.d.ts +2 -0
- package/dist/foundation/hpe-columns/index.d.ts.map +1 -0
- package/dist/foundation/hpe-columns/index.js +2 -0
- package/dist/foundation/hpe-columns/index.js.map +1 -0
- package/dist/foundation/hpe-section/hpe-section.d.ts +25 -0
- package/dist/foundation/hpe-section/hpe-section.d.ts.map +1 -0
- package/dist/foundation/hpe-section/hpe-section.js +46 -0
- package/dist/foundation/hpe-section/hpe-section.js.map +1 -0
- package/dist/foundation/hpe-section/hpe-section.styles.d.ts +2 -0
- package/dist/foundation/hpe-section/hpe-section.styles.d.ts.map +1 -0
- package/dist/foundation/hpe-section/hpe-section.styles.js +50 -0
- package/dist/foundation/hpe-section/hpe-section.styles.js.map +1 -0
- package/dist/foundation/hpe-section/index.d.ts +2 -0
- package/dist/foundation/hpe-section/index.d.ts.map +1 -0
- package/dist/foundation/hpe-section/index.js +2 -0
- package/dist/foundation/hpe-section/index.js.map +1 -0
- package/dist/foundation/hpe-stacks/hpe-x-stack/hpe-x-stack.d.ts +26 -0
- package/dist/foundation/hpe-stacks/hpe-x-stack/hpe-x-stack.d.ts.map +1 -0
- package/dist/foundation/hpe-stacks/hpe-x-stack/hpe-x-stack.js +43 -0
- package/dist/foundation/hpe-stacks/hpe-x-stack/hpe-x-stack.js.map +1 -0
- package/dist/foundation/hpe-stacks/hpe-x-stack/hpe-x-stack.styles.d.ts +2 -0
- package/dist/foundation/hpe-stacks/hpe-x-stack/hpe-x-stack.styles.d.ts.map +1 -0
- package/dist/foundation/hpe-stacks/hpe-x-stack/hpe-x-stack.styles.js +33 -0
- package/dist/foundation/hpe-stacks/hpe-x-stack/hpe-x-stack.styles.js.map +1 -0
- package/dist/foundation/hpe-stacks/hpe-y-stack/hpe-y-stack.d.ts +26 -0
- package/dist/foundation/hpe-stacks/hpe-y-stack/hpe-y-stack.d.ts.map +1 -0
- package/dist/foundation/hpe-stacks/hpe-y-stack/hpe-y-stack.js +43 -0
- package/dist/foundation/hpe-stacks/hpe-y-stack/hpe-y-stack.js.map +1 -0
- package/dist/foundation/hpe-stacks/hpe-y-stack/hpe-y-stack.styles.d.ts +2 -0
- package/dist/foundation/hpe-stacks/hpe-y-stack/hpe-y-stack.styles.d.ts.map +1 -0
- package/dist/foundation/hpe-stacks/hpe-y-stack/hpe-y-stack.styles.js +33 -0
- package/dist/foundation/hpe-stacks/hpe-y-stack/hpe-y-stack.styles.js.map +1 -0
- package/dist/foundation/hpe-stacks/index.d.ts +3 -0
- package/dist/foundation/hpe-stacks/index.d.ts.map +1 -0
- package/dist/foundation/hpe-stacks/index.js +3 -0
- package/dist/foundation/hpe-stacks/index.js.map +1 -0
- package/dist/foundation/hpe-typography/hpe-condensed-heading/hpe-condensed-heading.d.ts +35 -0
- package/dist/foundation/hpe-typography/hpe-condensed-heading/hpe-condensed-heading.d.ts.map +1 -0
- package/dist/foundation/hpe-typography/hpe-condensed-heading/hpe-condensed-heading.js +73 -0
- package/dist/foundation/hpe-typography/hpe-condensed-heading/hpe-condensed-heading.js.map +1 -0
- package/dist/foundation/hpe-typography/hpe-condensed-heading/hpe-condensed-heading.styles.d.ts +2 -0
- package/dist/foundation/hpe-typography/hpe-condensed-heading/hpe-condensed-heading.styles.d.ts.map +1 -0
- package/dist/foundation/hpe-typography/hpe-condensed-heading/hpe-condensed-heading.styles.js +125 -0
- package/dist/foundation/hpe-typography/hpe-condensed-heading/hpe-condensed-heading.styles.js.map +1 -0
- package/dist/foundation/hpe-typography/hpe-heading/hpe-heading.d.ts +32 -0
- package/dist/foundation/hpe-typography/hpe-heading/hpe-heading.d.ts.map +1 -0
- package/dist/foundation/hpe-typography/hpe-heading/hpe-heading.js +100 -0
- package/dist/foundation/hpe-typography/hpe-heading/hpe-heading.js.map +1 -0
- package/dist/foundation/hpe-typography/hpe-heading/hpe-heading.styles.d.ts +2 -0
- package/dist/foundation/hpe-typography/hpe-heading/hpe-heading.styles.d.ts.map +1 -0
- package/dist/foundation/hpe-typography/hpe-heading/hpe-heading.styles.js +63 -0
- package/dist/foundation/hpe-typography/hpe-heading/hpe-heading.styles.js.map +1 -0
- package/dist/foundation/hpe-typography/hpe-paragraph/hpe-paragraph.d.ts +26 -0
- package/dist/foundation/hpe-typography/hpe-paragraph/hpe-paragraph.d.ts.map +1 -0
- package/dist/foundation/hpe-typography/hpe-paragraph/hpe-paragraph.js +43 -0
- package/dist/foundation/hpe-typography/hpe-paragraph/hpe-paragraph.js.map +1 -0
- package/dist/foundation/hpe-typography/hpe-paragraph/hpe-paragraph.styles.d.ts +2 -0
- package/dist/foundation/hpe-typography/hpe-paragraph/hpe-paragraph.styles.d.ts.map +1 -0
- package/dist/foundation/hpe-typography/hpe-paragraph/hpe-paragraph.styles.js +42 -0
- package/dist/foundation/hpe-typography/hpe-paragraph/hpe-paragraph.styles.js.map +1 -0
- package/dist/foundation/hpe-typography/index.d.ts +4 -0
- package/dist/foundation/hpe-typography/index.d.ts.map +1 -0
- package/dist/foundation/hpe-typography/index.js +4 -0
- package/dist/foundation/hpe-typography/index.js.map +1 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +27 -0
- package/dist/index.js.map +1 -0
- package/dist/templates/hpe-button-only/hpe-button-only.d.ts +38 -0
- package/dist/templates/hpe-button-only/hpe-button-only.d.ts.map +1 -0
- package/dist/templates/hpe-button-only/hpe-button-only.js +77 -0
- package/dist/templates/hpe-button-only/hpe-button-only.js.map +1 -0
- package/dist/templates/hpe-button-only/hpe-button-only.styles.d.ts +2 -0
- package/dist/templates/hpe-button-only/hpe-button-only.styles.d.ts.map +1 -0
- package/dist/templates/hpe-button-only/hpe-button-only.styles.js +14 -0
- package/dist/templates/hpe-button-only/hpe-button-only.styles.js.map +1 -0
- package/dist/templates/hpe-button-only/index.d.ts +2 -0
- package/dist/templates/hpe-button-only/index.d.ts.map +1 -0
- package/dist/templates/hpe-button-only/index.js +2 -0
- package/dist/templates/hpe-button-only/index.js.map +1 -0
- package/dist/templates/hpe-card-carousel/hpe-card-carousel.d.ts +52 -0
- package/dist/templates/hpe-card-carousel/hpe-card-carousel.d.ts.map +1 -0
- package/dist/templates/hpe-card-carousel/hpe-card-carousel.js +129 -0
- package/dist/templates/hpe-card-carousel/hpe-card-carousel.js.map +1 -0
- package/dist/templates/hpe-card-carousel/hpe-card-carousel.styles.d.ts +2 -0
- package/dist/templates/hpe-card-carousel/hpe-card-carousel.styles.d.ts.map +1 -0
- package/dist/templates/hpe-card-carousel/hpe-card-carousel.styles.js +53 -0
- package/dist/templates/hpe-card-carousel/hpe-card-carousel.styles.js.map +1 -0
- package/dist/templates/hpe-card-carousel/index.d.ts +2 -0
- package/dist/templates/hpe-card-carousel/index.d.ts.map +1 -0
- package/dist/templates/hpe-card-carousel/index.js +2 -0
- package/dist/templates/hpe-card-carousel/index.js.map +1 -0
- package/dist/templates/hpe-card-grid/hpe-card-grid.d.ts +52 -0
- package/dist/templates/hpe-card-grid/hpe-card-grid.d.ts.map +1 -0
- package/dist/templates/hpe-card-grid/hpe-card-grid.js +122 -0
- package/dist/templates/hpe-card-grid/hpe-card-grid.js.map +1 -0
- package/dist/templates/hpe-card-grid/hpe-card-grid.styles.d.ts +2 -0
- package/dist/templates/hpe-card-grid/hpe-card-grid.styles.d.ts.map +1 -0
- package/dist/templates/hpe-card-grid/hpe-card-grid.styles.js +63 -0
- package/dist/templates/hpe-card-grid/hpe-card-grid.styles.js.map +1 -0
- package/dist/templates/hpe-card-grid/index.d.ts +2 -0
- package/dist/templates/hpe-card-grid/index.d.ts.map +1 -0
- package/dist/templates/hpe-card-grid/index.js +2 -0
- package/dist/templates/hpe-card-grid/index.js.map +1 -0
- package/dist/templates/hpe-image-only/hpe-image-only.d.ts +35 -0
- package/dist/templates/hpe-image-only/hpe-image-only.d.ts.map +1 -0
- package/dist/templates/hpe-image-only/hpe-image-only.js +65 -0
- package/dist/templates/hpe-image-only/hpe-image-only.js.map +1 -0
- package/dist/templates/hpe-image-only/hpe-image-only.styles.d.ts +2 -0
- package/dist/templates/hpe-image-only/hpe-image-only.styles.d.ts.map +1 -0
- package/dist/templates/hpe-image-only/hpe-image-only.styles.js +12 -0
- package/dist/templates/hpe-image-only/hpe-image-only.styles.js.map +1 -0
- package/dist/templates/hpe-image-only/index.d.ts +2 -0
- package/dist/templates/hpe-image-only/index.d.ts.map +1 -0
- package/dist/templates/hpe-image-only/index.js +2 -0
- package/dist/templates/hpe-image-only/index.js.map +1 -0
- package/dist/templates/hpe-text-only/hpe-text-only.d.ts +50 -0
- package/dist/templates/hpe-text-only/hpe-text-only.d.ts.map +1 -0
- package/dist/templates/hpe-text-only/hpe-text-only.js +113 -0
- package/dist/templates/hpe-text-only/hpe-text-only.js.map +1 -0
- package/dist/templates/hpe-text-only/hpe-text-only.styles.d.ts +2 -0
- package/dist/templates/hpe-text-only/hpe-text-only.styles.d.ts.map +1 -0
- package/dist/templates/hpe-text-only/hpe-text-only.styles.js +12 -0
- package/dist/templates/hpe-text-only/hpe-text-only.styles.js.map +1 -0
- package/dist/templates/hpe-text-only/index.d.ts +2 -0
- package/dist/templates/hpe-text-only/index.d.ts.map +1 -0
- package/dist/templates/hpe-text-only/index.js +2 -0
- package/dist/templates/hpe-text-only/index.js.map +1 -0
- package/dist/templates/hpe-text-recipe/hpe-text-recipe.d.ts +61 -0
- package/dist/templates/hpe-text-recipe/hpe-text-recipe.d.ts.map +1 -0
- package/dist/templates/hpe-text-recipe/hpe-text-recipe.js +172 -0
- package/dist/templates/hpe-text-recipe/hpe-text-recipe.js.map +1 -0
- package/dist/templates/hpe-text-recipe/hpe-text-recipe.styles.d.ts +2 -0
- package/dist/templates/hpe-text-recipe/hpe-text-recipe.styles.d.ts.map +1 -0
- package/dist/templates/hpe-text-recipe/hpe-text-recipe.styles.js +60 -0
- package/dist/templates/hpe-text-recipe/hpe-text-recipe.styles.js.map +1 -0
- package/dist/templates/hpe-text-recipe/index.d.ts +2 -0
- package/dist/templates/hpe-text-recipe/index.d.ts.map +1 -0
- package/dist/templates/hpe-text-recipe/index.js +2 -0
- package/dist/templates/hpe-text-recipe/index.js.map +1 -0
- package/package.json +35 -13
- package/README.md +0 -10
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { LitElement, html, nothing } from "lit";
|
|
8
|
+
import { customElement, property, query, state } from "lit/decorators.js";
|
|
9
|
+
import { styles } from "./hpe-carousel.styles.js";
|
|
10
|
+
/**
|
|
11
|
+
* A reusable carousel element that displays slotted slides with optional
|
|
12
|
+
* previous and next navigation controls.
|
|
13
|
+
*
|
|
14
|
+
* @tag hpe-carousel
|
|
15
|
+
* @summary Displays slotted content as horizontally scrollable slides with circular navigation controls.
|
|
16
|
+
*
|
|
17
|
+
* @attr {number} visible-slides - Number of visible slides at once.
|
|
18
|
+
* @attr {boolean} show-controls - Whether navigation controls are shown.
|
|
19
|
+
* @attr {boolean} show-slide-count - Whether to render the slide count label alongside controls.
|
|
20
|
+
*
|
|
21
|
+
* @fires hpe-carousel-change - Dispatched when the current slide or page count changes.
|
|
22
|
+
*
|
|
23
|
+
* @slot - Carousel slide content.
|
|
24
|
+
*
|
|
25
|
+
* @csspart container - The outer carousel wrapper.
|
|
26
|
+
* @csspart slides - The slide viewport and track wrapper.
|
|
27
|
+
* @csspart controls - The navigation controls wrapper.
|
|
28
|
+
* @csspart prev-button - The previous navigation button.
|
|
29
|
+
* @csspart next-button - The next navigation button.
|
|
30
|
+
*/
|
|
31
|
+
let HpeCarousel = class HpeCarousel extends LitElement {
|
|
32
|
+
constructor() {
|
|
33
|
+
super(...arguments);
|
|
34
|
+
this.visibleSlides = 1;
|
|
35
|
+
this.showControls = true;
|
|
36
|
+
this.showSlideCount = false;
|
|
37
|
+
this.currentIndex = 0;
|
|
38
|
+
this.totalSlides = 0;
|
|
39
|
+
}
|
|
40
|
+
get currentSlideIndex() {
|
|
41
|
+
return this.currentIndex;
|
|
42
|
+
}
|
|
43
|
+
get pageCount() {
|
|
44
|
+
return this.totalPages;
|
|
45
|
+
}
|
|
46
|
+
firstUpdated() {
|
|
47
|
+
this.syncSlides();
|
|
48
|
+
this.updateSlideWidth();
|
|
49
|
+
}
|
|
50
|
+
updated(changedProperties) {
|
|
51
|
+
if (changedProperties.has("visibleSlides")) {
|
|
52
|
+
this.currentIndex = 0;
|
|
53
|
+
this.updateSlideWidth();
|
|
54
|
+
this.goTo(0);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
get totalPages() {
|
|
58
|
+
return Math.max(this.totalSlides - this.visibleSlides + 1, 1);
|
|
59
|
+
}
|
|
60
|
+
syncSlides() {
|
|
61
|
+
const slot = this.renderRoot.querySelector("slot");
|
|
62
|
+
if (!slot) {
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
this.totalSlides = slot.assignedElements({ flatten: true }).length;
|
|
66
|
+
this.currentIndex = Math.min(this.currentIndex, this.totalPages - 1);
|
|
67
|
+
this.notifyStateChange();
|
|
68
|
+
}
|
|
69
|
+
updateSlideWidth() {
|
|
70
|
+
const safeVisibleSlides = Math.max(1, this.visibleSlides);
|
|
71
|
+
const gapCount = safeVisibleSlides - 1;
|
|
72
|
+
this.style.setProperty("--_hpe-carousel-slide-width", `calc((100% - (var(--hpe-carousel-slide-gap, 0px) * ${gapCount})) / ${safeVisibleSlides})`);
|
|
73
|
+
}
|
|
74
|
+
goTo(index) {
|
|
75
|
+
const clampedIndex = Math.max(0, Math.min(index, this.totalPages - 1));
|
|
76
|
+
this.currentIndex = clampedIndex;
|
|
77
|
+
const slot = this.renderRoot.querySelector("slot");
|
|
78
|
+
if (!slot || !this.slidesElement) {
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
const slides = slot.assignedElements({ flatten: true });
|
|
82
|
+
const targetSlide = slides[clampedIndex];
|
|
83
|
+
if (targetSlide) {
|
|
84
|
+
this.slidesElement.scrollTo({
|
|
85
|
+
left: targetSlide.offsetLeft,
|
|
86
|
+
behavior: "smooth",
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
this.notifyStateChange();
|
|
90
|
+
}
|
|
91
|
+
goToPrevious() {
|
|
92
|
+
this.goTo(this.currentIndex - 1);
|
|
93
|
+
}
|
|
94
|
+
goToNext() {
|
|
95
|
+
this.goTo(this.currentIndex + 1);
|
|
96
|
+
}
|
|
97
|
+
handleSlotChange() {
|
|
98
|
+
this.syncSlides();
|
|
99
|
+
this.updateSlideWidth();
|
|
100
|
+
}
|
|
101
|
+
notifyStateChange() {
|
|
102
|
+
this.dispatchEvent(new CustomEvent("hpe-carousel-change", {
|
|
103
|
+
detail: {
|
|
104
|
+
currentIndex: this.currentIndex,
|
|
105
|
+
totalSlides: this.totalSlides,
|
|
106
|
+
totalPages: this.totalPages,
|
|
107
|
+
},
|
|
108
|
+
bubbles: true,
|
|
109
|
+
composed: true,
|
|
110
|
+
}));
|
|
111
|
+
}
|
|
112
|
+
renderIcon(direction) {
|
|
113
|
+
return direction === "left"
|
|
114
|
+
? html `
|
|
115
|
+
<svg viewBox="0 0 24 24" aria-hidden="true">
|
|
116
|
+
<path d="M14.5 6.5L9 12l5.5 5.5" />
|
|
117
|
+
</svg>
|
|
118
|
+
`
|
|
119
|
+
: html `
|
|
120
|
+
<svg viewBox="0 0 24 24" aria-hidden="true">
|
|
121
|
+
<path d="M9.5 6.5L15 12l-5.5 5.5" />
|
|
122
|
+
</svg>
|
|
123
|
+
`;
|
|
124
|
+
}
|
|
125
|
+
render() {
|
|
126
|
+
const showNavigation = this.showControls && this.totalSlides > this.visibleSlides;
|
|
127
|
+
const slideCountText = `Slide ${this.currentIndex + 1} of ${this.totalSlides}`;
|
|
128
|
+
return html `
|
|
129
|
+
<div part="container" class="container">
|
|
130
|
+
<div part="slides" class="slides">
|
|
131
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
132
|
+
</div>
|
|
133
|
+
|
|
134
|
+
${showNavigation
|
|
135
|
+
? html `
|
|
136
|
+
<div part="controls" class="controls">
|
|
137
|
+
<button
|
|
138
|
+
part="prev-button"
|
|
139
|
+
class="nav-button"
|
|
140
|
+
type="button"
|
|
141
|
+
aria-label="Previous slide"
|
|
142
|
+
?disabled=${this.currentIndex === 0}
|
|
143
|
+
@click=${this.goToPrevious}
|
|
144
|
+
>
|
|
145
|
+
${this.renderIcon("left")}
|
|
146
|
+
</button>
|
|
147
|
+
|
|
148
|
+
<button
|
|
149
|
+
part="next-button"
|
|
150
|
+
class="nav-button"
|
|
151
|
+
type="button"
|
|
152
|
+
aria-label="Next slide"
|
|
153
|
+
?disabled=${this.currentIndex >= this.totalPages - 1}
|
|
154
|
+
@click=${this.goToNext}
|
|
155
|
+
>
|
|
156
|
+
${this.renderIcon("right")}
|
|
157
|
+
</button>
|
|
158
|
+
|
|
159
|
+
${this.showSlideCount
|
|
160
|
+
? html `
|
|
161
|
+
<span part="slide-count" class="slide-count"
|
|
162
|
+
>${slideCountText}</span
|
|
163
|
+
>
|
|
164
|
+
`
|
|
165
|
+
: nothing}
|
|
166
|
+
</div>
|
|
167
|
+
`
|
|
168
|
+
: nothing}
|
|
169
|
+
</div>
|
|
170
|
+
`;
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
HpeCarousel.styles = styles;
|
|
174
|
+
__decorate([
|
|
175
|
+
property({ type: Number, reflect: true, attribute: "visible-slides" })
|
|
176
|
+
], HpeCarousel.prototype, "visibleSlides", void 0);
|
|
177
|
+
__decorate([
|
|
178
|
+
property({ type: Boolean, reflect: true, attribute: "show-controls" })
|
|
179
|
+
], HpeCarousel.prototype, "showControls", void 0);
|
|
180
|
+
__decorate([
|
|
181
|
+
property({ type: Boolean, reflect: true, attribute: "show-slide-count" })
|
|
182
|
+
], HpeCarousel.prototype, "showSlideCount", void 0);
|
|
183
|
+
__decorate([
|
|
184
|
+
state()
|
|
185
|
+
], HpeCarousel.prototype, "currentIndex", void 0);
|
|
186
|
+
__decorate([
|
|
187
|
+
state()
|
|
188
|
+
], HpeCarousel.prototype, "totalSlides", void 0);
|
|
189
|
+
__decorate([
|
|
190
|
+
query(".slides")
|
|
191
|
+
], HpeCarousel.prototype, "slidesElement", void 0);
|
|
192
|
+
HpeCarousel = __decorate([
|
|
193
|
+
customElement("hpe-carousel")
|
|
194
|
+
], HpeCarousel);
|
|
195
|
+
export { HpeCarousel };
|
|
196
|
+
//# sourceMappingURL=hpe-carousel.js.map
|
|
@@ -0,0 +1 @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,IAAI,CAAA;;;;;;;8BAOc,IAAI,CAAC,YAAY,KAAK,CAAC;2BAC1B,IAAI,CAAC,YAAY;;oBAExB,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC;;;;;;;;8BAQb,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,UAAU,GAAG,CAAC;2BAC3C,IAAI,CAAC,QAAQ;;oBAEpB,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;;;kBAG1B,IAAI,CAAC,cAAc;gBACnB,CAAC,CAAC,IAAI,CAAA;;2BAEG,cAAc;;qBAEpB;gBACH,CAAC,CAAC,OAAO;;aAEd;YACH,CAAC,CAAC,OAAO;;KAEd,CAAC;IACJ,CAAC;;AAjLe,kBAAM,GAAG,MAAM,AAAT,CAAU;AAGhC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;kDACrD;AAGlB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;iDACnD;AAGpB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;mDACnD;AAGf;IADP,KAAK,EAAE;iDACiB;AAGjB;IADP,KAAK,EAAE;gDACgB;AAGhB;IADP,KAAK,CAAC,SAAS,CAAC;kDACmB;AAnBzB,WAAW;IADvB,aAAa,CAAC,cAAc,CAAC;GACjB,WAAW,CAmLvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hpe-carousel.styles.d.ts","sourceRoot":"","sources":["../../../elements/hpe-carousel/hpe-carousel.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,yBAuGlB,CAAC"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const styles = css `
|
|
3
|
+
:host {
|
|
4
|
+
display: block;
|
|
5
|
+
width: 100%;
|
|
6
|
+
--hpe-carousel-stack-gap: 40px;
|
|
7
|
+
--hpe-carousel-controls-gap: 16px;
|
|
8
|
+
--hpe-carousel-slide-gap: 0px;
|
|
9
|
+
--hpe-carousel-nav-size: 56px;
|
|
10
|
+
--hpe-carousel-nav-rest-background: #535c66;
|
|
11
|
+
--hpe-carousel-nav-disabled-background: #b4b6ba;
|
|
12
|
+
--hpe-carousel-nav-icon-color: #ffffff;
|
|
13
|
+
--hpe-carousel-slide-count-color: #606a70;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.container {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
align-items: flex-start;
|
|
20
|
+
gap: var(--hpe-carousel-stack-gap);
|
|
21
|
+
width: 100%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.slides {
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
gap: var(--hpe-carousel-slide-gap);
|
|
28
|
+
width: 100%;
|
|
29
|
+
overflow-x: auto;
|
|
30
|
+
scroll-behavior: smooth;
|
|
31
|
+
scrollbar-width: none;
|
|
32
|
+
-ms-overflow-style: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.slides::-webkit-scrollbar {
|
|
36
|
+
display: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
::slotted(*) {
|
|
40
|
+
flex: 0 0 var(--_hpe-carousel-slide-width, 100%);
|
|
41
|
+
min-width: 0;
|
|
42
|
+
box-sizing: border-box;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.controls {
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
gap: var(--hpe-carousel-controls-gap);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.slide-count {
|
|
52
|
+
color: var(--hpe-carousel-slide-count-color);
|
|
53
|
+
font-family: var(--heading-font, sans-serif);
|
|
54
|
+
font-size: 16px;
|
|
55
|
+
font-weight: 400;
|
|
56
|
+
line-height: 24px;
|
|
57
|
+
white-space: nowrap;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.nav-button {
|
|
61
|
+
display: inline-flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
justify-content: center;
|
|
64
|
+
width: var(--hpe-carousel-nav-size);
|
|
65
|
+
height: var(--hpe-carousel-nav-size);
|
|
66
|
+
padding: 0;
|
|
67
|
+
border: none;
|
|
68
|
+
border-radius: 9999px;
|
|
69
|
+
background: var(--hpe-carousel-nav-rest-background);
|
|
70
|
+
color: var(--hpe-carousel-nav-icon-color);
|
|
71
|
+
cursor: pointer;
|
|
72
|
+
transition: opacity 0.2s ease;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.nav-button:hover:not(:disabled) {
|
|
76
|
+
opacity: 0.88;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.nav-button:disabled {
|
|
80
|
+
background: var(--hpe-carousel-nav-disabled-background);
|
|
81
|
+
cursor: not-allowed;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.nav-button svg {
|
|
85
|
+
width: 24px;
|
|
86
|
+
height: 24px;
|
|
87
|
+
fill: none;
|
|
88
|
+
stroke: currentColor;
|
|
89
|
+
stroke-width: 2;
|
|
90
|
+
stroke-linecap: round;
|
|
91
|
+
stroke-linejoin: round;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@media (max-width: 766px) {
|
|
95
|
+
:host {
|
|
96
|
+
--hpe-carousel-controls-gap: 12px;
|
|
97
|
+
--hpe-carousel-nav-size: 40px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.nav-button svg {
|
|
101
|
+
width: 20px;
|
|
102
|
+
height: 20px;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
`;
|
|
106
|
+
//# sourceMappingURL=hpe-carousel.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hpe-carousel.styles.js","sourceRoot":"","sources":["../../../elements/hpe-carousel/hpe-carousel.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuGxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../elements/hpe-carousel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../elements/hpe-carousel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import "../hpe-button/hpe-button.js";
|
|
3
|
+
import "../hpe-button-group/hpe-button-group.js";
|
|
4
|
+
import "../../foundation/hpe-typography/hpe-heading/hpe-heading.js";
|
|
5
|
+
import "../../foundation/hpe-typography/hpe-paragraph/hpe-paragraph.js";
|
|
6
|
+
/**
|
|
7
|
+
* A form container matching the Figma form layout with heading, body copy, field stack, and primary action.
|
|
8
|
+
*
|
|
9
|
+
* @tag hpe-form
|
|
10
|
+
* @summary Displays a token-backed form shell with slotted input controls, a submit action, and optional additional actions.
|
|
11
|
+
*
|
|
12
|
+
* @attr {string} heading - Heading text displayed at the top of the form
|
|
13
|
+
* @attr {string} description - Supporting body copy displayed below the heading
|
|
14
|
+
* @attr {string} submit-label - Label used for the default submit button
|
|
15
|
+
* @slot - Form fields and grouped controls
|
|
16
|
+
* @slot actions - Optional additional action buttons rendered alongside the default submit button
|
|
17
|
+
*
|
|
18
|
+
* @csspart container - The outer form container
|
|
19
|
+
* @csspart header - The heading and description area
|
|
20
|
+
* @csspart fields - The slotted field stack
|
|
21
|
+
* @csspart actions - The action row
|
|
22
|
+
*/
|
|
23
|
+
export declare class HpeForm extends LitElement {
|
|
24
|
+
static styles: import("lit").CSSResult;
|
|
25
|
+
heading: string;
|
|
26
|
+
description: string;
|
|
27
|
+
submitLabel: string;
|
|
28
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
29
|
+
private onSubmitClick;
|
|
30
|
+
}
|
|
31
|
+
declare global {
|
|
32
|
+
interface HTMLElementTagNameMap {
|
|
33
|
+
"hpe-form": HpeForm;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=hpe-form.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hpe-form.d.ts","sourceRoot":"","sources":["../../../elements/hpe-form/hpe-form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,6BAA6B,CAAC;AACrC,OAAO,yCAAyC,CAAC;AACjD,OAAO,4DAA4D,CAAC;AACpE,OAAO,gEAAgE,CAAC;AAExE;;;;;;;;;;;;;;;;GAgBG;AACH,qBACa,OAAQ,SAAQ,UAAU;IACrC,OAAgB,MAAM,0BAAU;IAGhC,OAAO,SAAa;IAGpB,WAAW,SAC0F;IAGrG,WAAW,SAAY;IAEd,MAAM;IA2Bf,OAAO,CAAC,aAAa;CAQtB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,UAAU,EAAE,OAAO,CAAC;KACrB;CACF"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { LitElement, html } from "lit";
|
|
8
|
+
import { customElement, property } from "lit/decorators.js";
|
|
9
|
+
import { styles } from "./hpe-form.styles.js";
|
|
10
|
+
import "../hpe-button/hpe-button.js";
|
|
11
|
+
import "../hpe-button-group/hpe-button-group.js";
|
|
12
|
+
import "../../foundation/hpe-typography/hpe-heading/hpe-heading.js";
|
|
13
|
+
import "../../foundation/hpe-typography/hpe-paragraph/hpe-paragraph.js";
|
|
14
|
+
/**
|
|
15
|
+
* A form container matching the Figma form layout with heading, body copy, field stack, and primary action.
|
|
16
|
+
*
|
|
17
|
+
* @tag hpe-form
|
|
18
|
+
* @summary Displays a token-backed form shell with slotted input controls, a submit action, and optional additional actions.
|
|
19
|
+
*
|
|
20
|
+
* @attr {string} heading - Heading text displayed at the top of the form
|
|
21
|
+
* @attr {string} description - Supporting body copy displayed below the heading
|
|
22
|
+
* @attr {string} submit-label - Label used for the default submit button
|
|
23
|
+
* @slot - Form fields and grouped controls
|
|
24
|
+
* @slot actions - Optional additional action buttons rendered alongside the default submit button
|
|
25
|
+
*
|
|
26
|
+
* @csspart container - The outer form container
|
|
27
|
+
* @csspart header - The heading and description area
|
|
28
|
+
* @csspart fields - The slotted field stack
|
|
29
|
+
* @csspart actions - The action row
|
|
30
|
+
*/
|
|
31
|
+
let HpeForm = class HpeForm extends LitElement {
|
|
32
|
+
constructor() {
|
|
33
|
+
super(...arguments);
|
|
34
|
+
this.heading = "Heading";
|
|
35
|
+
this.description = "Desription text providing context for the form and its fields. This can be a few sentences long.";
|
|
36
|
+
this.submitLabel = "Submit";
|
|
37
|
+
}
|
|
38
|
+
render() {
|
|
39
|
+
return html `
|
|
40
|
+
<section part="container" class="container">
|
|
41
|
+
<div part="header" class="header">
|
|
42
|
+
<hpe-heading level="h2">${this.heading}</hpe-heading>
|
|
43
|
+
<hpe-paragraph size="md">${this.description}</hpe-paragraph>
|
|
44
|
+
</div>
|
|
45
|
+
<div part="fields" class="fields">
|
|
46
|
+
<slot></slot>
|
|
47
|
+
</div>
|
|
48
|
+
<div part="actions" class="actions">
|
|
49
|
+
<hpe-button-group>
|
|
50
|
+
<hpe-button
|
|
51
|
+
type="primary"
|
|
52
|
+
size="small"
|
|
53
|
+
.showIcon=${false}
|
|
54
|
+
@click=${this.onSubmitClick}
|
|
55
|
+
>
|
|
56
|
+
${this.submitLabel}
|
|
57
|
+
</hpe-button>
|
|
58
|
+
<slot name="actions"></slot>
|
|
59
|
+
</hpe-button-group>
|
|
60
|
+
</div>
|
|
61
|
+
</section>
|
|
62
|
+
`;
|
|
63
|
+
}
|
|
64
|
+
onSubmitClick() {
|
|
65
|
+
this.dispatchEvent(new CustomEvent("hpe-form-submit", {
|
|
66
|
+
bubbles: true,
|
|
67
|
+
composed: true,
|
|
68
|
+
}));
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
HpeForm.styles = styles;
|
|
72
|
+
__decorate([
|
|
73
|
+
property({ reflect: true })
|
|
74
|
+
], HpeForm.prototype, "heading", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
property({ reflect: true })
|
|
77
|
+
], HpeForm.prototype, "description", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
property({ reflect: true, attribute: "submit-label" })
|
|
80
|
+
], HpeForm.prototype, "submitLabel", void 0);
|
|
81
|
+
HpeForm = __decorate([
|
|
82
|
+
customElement("hpe-form")
|
|
83
|
+
], HpeForm);
|
|
84
|
+
export { HpeForm };
|
|
85
|
+
//# sourceMappingURL=hpe-form.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":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b,OAAO,CAgDnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hpe-form.styles.d.ts","sourceRoot":"","sources":["../../../elements/hpe-form/hpe-form.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,yBAgElB,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const styles = css `
|
|
3
|
+
:host {
|
|
4
|
+
display: block;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.container {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
gap: var(--hpe-web-spacing-xlarge);
|
|
11
|
+
width: 100%;
|
|
12
|
+
padding: var(--hpe-web-spacing-xlarge);
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
border: 1px solid var(--hpe-web-color-border-weak);
|
|
15
|
+
background: var(--hpe-web-color-background-card);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.header,
|
|
19
|
+
.fields,
|
|
20
|
+
.actions {
|
|
21
|
+
display: flex;
|
|
22
|
+
width: 100%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.header,
|
|
26
|
+
.fields {
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.header {
|
|
31
|
+
gap: var(--hpe-web-spacing-xsmall);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.fields {
|
|
35
|
+
gap: var(--hpe-web-spacing-medium);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.actions {
|
|
39
|
+
align-items: center;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
hpe-heading,
|
|
43
|
+
hpe-paragraph {
|
|
44
|
+
margin: 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
::slotted(*) {
|
|
48
|
+
box-sizing: border-box;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
::slotted(hpe-input),
|
|
52
|
+
::slotted(hpe-input-group),
|
|
53
|
+
::slotted(hpe-select),
|
|
54
|
+
::slotted(hpe-textarea) {
|
|
55
|
+
display: block;
|
|
56
|
+
width: 100%;
|
|
57
|
+
max-width: none;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@media (max-width: 767px) {
|
|
61
|
+
.container {
|
|
62
|
+
gap: var(--hpe-web-spacing-large);
|
|
63
|
+
padding: var(--hpe-web-spacing-medium);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
`;
|
|
67
|
+
//# sourceMappingURL=hpe-form.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hpe-form.styles.js","sourceRoot":"","sources":["../../../elements/hpe-form/hpe-form.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgExB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../elements/hpe-form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../elements/hpe-form/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
/**
|
|
3
|
+
* A decorative horizontal rule used to visually separate sections of content.
|
|
4
|
+
*
|
|
5
|
+
* @tag hpe-horizontal-rule
|
|
6
|
+
* @summary A full-width horizontal divider styled with the design-system border token.
|
|
7
|
+
*
|
|
8
|
+
* @csspart rule - The underlying `<hr>` element.
|
|
9
|
+
*/
|
|
10
|
+
export declare class HpeHorizontalRule extends LitElement {
|
|
11
|
+
static styles: import("lit").CSSResult;
|
|
12
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
13
|
+
}
|
|
14
|
+
declare global {
|
|
15
|
+
interface HTMLElementTagNameMap {
|
|
16
|
+
"hpe-horizontal-rule": HpeHorizontalRule;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=hpe-horizontal-rule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hpe-horizontal-rule.d.ts","sourceRoot":"","sources":["../../../elements/hpe-horizontal-rule/hpe-horizontal-rule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAIvC;;;;;;;GAOG;AACH,qBACa,iBAAkB,SAAQ,UAAU;IAC/C,OAAgB,MAAM,0BAAU;IAEvB,MAAM;CAGhB;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,qBAAqB,EAAE,iBAAiB,CAAC;KAC1C;CACF"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { LitElement, html } from "lit";
|
|
8
|
+
import { customElement } from "lit/decorators.js";
|
|
9
|
+
import { styles } from "./hpe-horizontal-rule.styles.js";
|
|
10
|
+
/**
|
|
11
|
+
* A decorative horizontal rule used to visually separate sections of content.
|
|
12
|
+
*
|
|
13
|
+
* @tag hpe-horizontal-rule
|
|
14
|
+
* @summary A full-width horizontal divider styled with the design-system border token.
|
|
15
|
+
*
|
|
16
|
+
* @csspart rule - The underlying `<hr>` element.
|
|
17
|
+
*/
|
|
18
|
+
let HpeHorizontalRule = class HpeHorizontalRule extends LitElement {
|
|
19
|
+
render() {
|
|
20
|
+
return html `<hr part="rule" class="rule" />`;
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
HpeHorizontalRule.styles = styles;
|
|
24
|
+
HpeHorizontalRule = __decorate([
|
|
25
|
+
customElement("hpe-horizontal-rule")
|
|
26
|
+
], HpeHorizontalRule);
|
|
27
|
+
export { HpeHorizontalRule };
|
|
28
|
+
//# sourceMappingURL=hpe-horizontal-rule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hpe-horizontal-rule.js","sourceRoot":"","sources":["../../../elements/hpe-horizontal-rule/hpe-horizontal-rule.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAEzD;;;;;;;GAOG;AAEI,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,UAAU;IAGtC,MAAM;QACb,OAAO,IAAI,CAAA,iCAAiC,CAAC;IAC/C,CAAC;;AAJe,wBAAM,GAAG,MAAM,AAAT,CAAU;AADrB,iBAAiB;IAD7B,aAAa,CAAC,qBAAqB,CAAC;GACxB,iBAAiB,CAM7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hpe-horizontal-rule.styles.d.ts","sourceRoot":"","sources":["../../../elements/hpe-horizontal-rule/hpe-horizontal-rule.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,yBAelB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const styles = css `
|
|
3
|
+
:host {
|
|
4
|
+
display: block;
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.rule {
|
|
9
|
+
display: block;
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 0;
|
|
12
|
+
margin: 0;
|
|
13
|
+
border: none;
|
|
14
|
+
border-top: var(--hpe-web-border-width-default) solid
|
|
15
|
+
var(--hpe-web-color-border-weak);
|
|
16
|
+
}
|
|
17
|
+
`;
|
|
18
|
+
//# sourceMappingURL=hpe-horizontal-rule.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hpe-horizontal-rule.styles.js","sourceRoot":"","sources":["../../../elements/hpe-horizontal-rule/hpe-horizontal-rule.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;CAexB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../elements/hpe-horizontal-rule/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC"}
|