@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,110 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
/**
|
|
3
|
+
* A table heading cell used within table header rows.
|
|
4
|
+
*
|
|
5
|
+
* @tag hpe-table-header-cell
|
|
6
|
+
* @summary Displays heading text for a table column.
|
|
7
|
+
*
|
|
8
|
+
* @slot - Header cell content
|
|
9
|
+
*
|
|
10
|
+
* @csspart header-cell - The header cell container
|
|
11
|
+
* @csspart header-cell-content - The header cell content wrapper
|
|
12
|
+
*/
|
|
13
|
+
export declare class HpeTableHeaderCell extends LitElement {
|
|
14
|
+
static styles: import("lit").CSSResult;
|
|
15
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A table body cell used within table body rows.
|
|
19
|
+
*
|
|
20
|
+
* @tag hpe-table-body-cell
|
|
21
|
+
* @summary Displays body text content for a table row cell.
|
|
22
|
+
*
|
|
23
|
+
* @slot - Body cell content
|
|
24
|
+
*
|
|
25
|
+
* @csspart body-cell - The body cell container
|
|
26
|
+
* @csspart body-cell-content - The body cell content wrapper
|
|
27
|
+
*/
|
|
28
|
+
export declare class HpeTableBodyCell extends LitElement {
|
|
29
|
+
static styles: import("lit").CSSResult;
|
|
30
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A table header row wrapper for grouping heading cells.
|
|
34
|
+
*
|
|
35
|
+
* @tag hpe-table-header-row
|
|
36
|
+
* @summary Groups one or more table heading cells with a themed row surface.
|
|
37
|
+
*
|
|
38
|
+
* @attr {string} type - Header row theme: "default" | "gray" | "dark"
|
|
39
|
+
*
|
|
40
|
+
* @slot - Header cell elements, typically `<hpe-table-header-cell>`
|
|
41
|
+
*
|
|
42
|
+
* @csspart header-row - The header row container
|
|
43
|
+
*/
|
|
44
|
+
export declare class HpeTableHeaderRow extends LitElement {
|
|
45
|
+
static styles: import("lit").CSSResult;
|
|
46
|
+
type: "default" | "gray" | "dark";
|
|
47
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* A table body row wrapper for grouping body cells.
|
|
51
|
+
*
|
|
52
|
+
* @tag hpe-table-body-row
|
|
53
|
+
* @summary Groups one or more table body cells in horizontal or stacked layouts.
|
|
54
|
+
*
|
|
55
|
+
* @attr {string} orientation - Body row layout: "horizontal" | "vertical"
|
|
56
|
+
* @attr {string} type - Body row theme: "default" | "stripped"
|
|
57
|
+
*
|
|
58
|
+
* @slot - Body cell elements, typically `<hpe-table-body-cell>`
|
|
59
|
+
*
|
|
60
|
+
* @csspart body-row - The body row container
|
|
61
|
+
* @csspart body-row-cells - The body row cells wrapper
|
|
62
|
+
*/
|
|
63
|
+
export declare class HpeTableBodyRow extends LitElement {
|
|
64
|
+
static styles: import("lit").CSSResult;
|
|
65
|
+
orientation: "horizontal" | "vertical";
|
|
66
|
+
type: "default" | "stripped";
|
|
67
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* A composite table component with slotted header and body rows.
|
|
71
|
+
*
|
|
72
|
+
* @tag hpe-table
|
|
73
|
+
* @summary Displays coordinated table header and body rows with responsive mobile overflow treatment.
|
|
74
|
+
*
|
|
75
|
+
* Provide an accessible name with `aria-label` or `aria-labelledby`.
|
|
76
|
+
*
|
|
77
|
+
* @slot header-row - Header row elements, typically `<hpe-table-header-row>`
|
|
78
|
+
* @slot body-row - Body row elements, typically `<hpe-table-body-row>`
|
|
79
|
+
*
|
|
80
|
+
* @csspart container - The outer table container
|
|
81
|
+
* @csspart table - The scrollable table surface
|
|
82
|
+
* @csspart header-rows - The header rows wrapper
|
|
83
|
+
* @csspart body-rows - The body rows wrapper
|
|
84
|
+
* @csspart overflow-gradient - The mobile overflow gradient hint
|
|
85
|
+
*/
|
|
86
|
+
export declare class HpeTable extends LitElement {
|
|
87
|
+
static styles: import("lit").CSSResult;
|
|
88
|
+
private structureObserver;
|
|
89
|
+
private headerRows;
|
|
90
|
+
private bodyRows;
|
|
91
|
+
connectedCallback(): void;
|
|
92
|
+
disconnectedCallback(): void;
|
|
93
|
+
updated(): void;
|
|
94
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
95
|
+
private handleSlotChange;
|
|
96
|
+
private observeStructureChanges;
|
|
97
|
+
private renderHeaderRow;
|
|
98
|
+
private renderBodyRow;
|
|
99
|
+
private renderCellContent;
|
|
100
|
+
}
|
|
101
|
+
declare global {
|
|
102
|
+
interface HTMLElementTagNameMap {
|
|
103
|
+
"hpe-table": HpeTable;
|
|
104
|
+
"hpe-table-header-row": HpeTableHeaderRow;
|
|
105
|
+
"hpe-table-header-cell": HpeTableHeaderCell;
|
|
106
|
+
"hpe-table-body-row": HpeTableBodyRow;
|
|
107
|
+
"hpe-table-body-cell": HpeTableBodyCell;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
//# sourceMappingURL=hpe-table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hpe-table.d.ts","sourceRoot":"","sources":["../../../elements/hpe-table/hpe-table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAiB,MAAM,KAAK,CAAC;AAQhD;;;;;;;;;;GAUG;AACH,qBACa,kBAAmB,SAAQ,UAAU;IAChD,OAAgB,MAAM,0BAAU;IAEvB,MAAM;CAShB;AAED;;;;;;;;;;GAUG;AACH,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,OAAgB,MAAM,0BAAU;IAEvB,MAAM;CAShB;AAED;;;;;;;;;;;GAWG;AACH,qBACa,iBAAkB,SAAQ,UAAU;IAC/C,OAAgB,MAAM,0BAAU;IAGhC,IAAI,EAAE,SAAS,GAAG,MAAM,GAAG,MAAM,CAAa;IAErC,MAAM;CAOhB;AAED;;;;;;;;;;;;;GAaG;AACH,qBACa,eAAgB,SAAQ,UAAU;IAC7C,OAAgB,MAAM,0BAAU;IAGhC,WAAW,EAAE,YAAY,GAAG,UAAU,CAAgB;IAGtD,IAAI,EAAE,SAAS,GAAG,UAAU,CAAa;IAEhC,MAAM;CAShB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,qBACa,QAAS,SAAQ,UAAU;IACtC,OAAgB,MAAM,0BAAU;IAEhC,OAAO,CAAC,iBAAiB,CAEtB;IAGH,OAAO,CAAC,UAAU,CAAuB;IAGzC,OAAO,CAAC,QAAQ,CAAqB;IAE5B,iBAAiB;IAKjB,oBAAoB;IAKpB,OAAO;IAIP,MAAM;IA4Bf,OAAO,CAAC,gBAAgB,CAGtB;IAEF,OAAO,CAAC,uBAAuB;IAc/B,OAAO,CAAC,eAAe;IAoBvB,OAAO,CAAC,aAAa;IAsBrB,OAAO,CAAC,iBAAiB;CAY1B;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,WAAW,EAAE,QAAQ,CAAC;QACtB,sBAAsB,EAAE,iBAAiB,CAAC;QAC1C,uBAAuB,EAAE,kBAAkB,CAAC;QAC5C,oBAAoB,EAAE,eAAe,CAAC;QACtC,qBAAqB,EAAE,gBAAgB,CAAC;KACzC;CACF"}
|
|
@@ -0,0 +1,262 @@
|
|
|
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, queryAssignedElements, } from "lit/decorators.js";
|
|
9
|
+
import { styles } from "./hpe-table.styles.js";
|
|
10
|
+
/**
|
|
11
|
+
* A table heading cell used within table header rows.
|
|
12
|
+
*
|
|
13
|
+
* @tag hpe-table-header-cell
|
|
14
|
+
* @summary Displays heading text for a table column.
|
|
15
|
+
*
|
|
16
|
+
* @slot - Header cell content
|
|
17
|
+
*
|
|
18
|
+
* @csspart header-cell - The header cell container
|
|
19
|
+
* @csspart header-cell-content - The header cell content wrapper
|
|
20
|
+
*/
|
|
21
|
+
let HpeTableHeaderCell = class HpeTableHeaderCell extends LitElement {
|
|
22
|
+
render() {
|
|
23
|
+
return html `
|
|
24
|
+
<th part="header-cell" class="header-cell" scope="col">
|
|
25
|
+
<div part="header-cell-content" class="header-cell-content">
|
|
26
|
+
<slot>Table Heading Cell</slot>
|
|
27
|
+
</div>
|
|
28
|
+
</th>
|
|
29
|
+
`;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
HpeTableHeaderCell.styles = styles;
|
|
33
|
+
HpeTableHeaderCell = __decorate([
|
|
34
|
+
customElement("hpe-table-header-cell")
|
|
35
|
+
], HpeTableHeaderCell);
|
|
36
|
+
export { HpeTableHeaderCell };
|
|
37
|
+
/**
|
|
38
|
+
* A table body cell used within table body rows.
|
|
39
|
+
*
|
|
40
|
+
* @tag hpe-table-body-cell
|
|
41
|
+
* @summary Displays body text content for a table row cell.
|
|
42
|
+
*
|
|
43
|
+
* @slot - Body cell content
|
|
44
|
+
*
|
|
45
|
+
* @csspart body-cell - The body cell container
|
|
46
|
+
* @csspart body-cell-content - The body cell content wrapper
|
|
47
|
+
*/
|
|
48
|
+
let HpeTableBodyCell = class HpeTableBodyCell extends LitElement {
|
|
49
|
+
render() {
|
|
50
|
+
return html `
|
|
51
|
+
<td part="body-cell" class="body-cell">
|
|
52
|
+
<div part="body-cell-content" class="body-cell-content">
|
|
53
|
+
<slot>Table Body Cell</slot>
|
|
54
|
+
</div>
|
|
55
|
+
</td>
|
|
56
|
+
`;
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
HpeTableBodyCell.styles = styles;
|
|
60
|
+
HpeTableBodyCell = __decorate([
|
|
61
|
+
customElement("hpe-table-body-cell")
|
|
62
|
+
], HpeTableBodyCell);
|
|
63
|
+
export { HpeTableBodyCell };
|
|
64
|
+
/**
|
|
65
|
+
* A table header row wrapper for grouping heading cells.
|
|
66
|
+
*
|
|
67
|
+
* @tag hpe-table-header-row
|
|
68
|
+
* @summary Groups one or more table heading cells with a themed row surface.
|
|
69
|
+
*
|
|
70
|
+
* @attr {string} type - Header row theme: "default" | "gray" | "dark"
|
|
71
|
+
*
|
|
72
|
+
* @slot - Header cell elements, typically `<hpe-table-header-cell>`
|
|
73
|
+
*
|
|
74
|
+
* @csspart header-row - The header row container
|
|
75
|
+
*/
|
|
76
|
+
let HpeTableHeaderRow = class HpeTableHeaderRow extends LitElement {
|
|
77
|
+
constructor() {
|
|
78
|
+
super(...arguments);
|
|
79
|
+
this.type = "default";
|
|
80
|
+
}
|
|
81
|
+
render() {
|
|
82
|
+
return html `
|
|
83
|
+
<tr part="header-row" class="header-row">
|
|
84
|
+
<slot></slot>
|
|
85
|
+
</tr>
|
|
86
|
+
`;
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
HpeTableHeaderRow.styles = styles;
|
|
90
|
+
__decorate([
|
|
91
|
+
property({ reflect: true })
|
|
92
|
+
], HpeTableHeaderRow.prototype, "type", void 0);
|
|
93
|
+
HpeTableHeaderRow = __decorate([
|
|
94
|
+
customElement("hpe-table-header-row")
|
|
95
|
+
], HpeTableHeaderRow);
|
|
96
|
+
export { HpeTableHeaderRow };
|
|
97
|
+
/**
|
|
98
|
+
* A table body row wrapper for grouping body cells.
|
|
99
|
+
*
|
|
100
|
+
* @tag hpe-table-body-row
|
|
101
|
+
* @summary Groups one or more table body cells in horizontal or stacked layouts.
|
|
102
|
+
*
|
|
103
|
+
* @attr {string} orientation - Body row layout: "horizontal" | "vertical"
|
|
104
|
+
* @attr {string} type - Body row theme: "default" | "stripped"
|
|
105
|
+
*
|
|
106
|
+
* @slot - Body cell elements, typically `<hpe-table-body-cell>`
|
|
107
|
+
*
|
|
108
|
+
* @csspart body-row - The body row container
|
|
109
|
+
* @csspart body-row-cells - The body row cells wrapper
|
|
110
|
+
*/
|
|
111
|
+
let HpeTableBodyRow = class HpeTableBodyRow extends LitElement {
|
|
112
|
+
constructor() {
|
|
113
|
+
super(...arguments);
|
|
114
|
+
this.orientation = "horizontal";
|
|
115
|
+
this.type = "default";
|
|
116
|
+
}
|
|
117
|
+
render() {
|
|
118
|
+
return html `
|
|
119
|
+
<tr part="body-row" class="body-row">
|
|
120
|
+
<div part="body-row-cells" class="body-row-cells">
|
|
121
|
+
<slot></slot>
|
|
122
|
+
</div>
|
|
123
|
+
</tr>
|
|
124
|
+
`;
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
HpeTableBodyRow.styles = styles;
|
|
128
|
+
__decorate([
|
|
129
|
+
property({ reflect: true })
|
|
130
|
+
], HpeTableBodyRow.prototype, "orientation", void 0);
|
|
131
|
+
__decorate([
|
|
132
|
+
property({ reflect: true })
|
|
133
|
+
], HpeTableBodyRow.prototype, "type", void 0);
|
|
134
|
+
HpeTableBodyRow = __decorate([
|
|
135
|
+
customElement("hpe-table-body-row")
|
|
136
|
+
], HpeTableBodyRow);
|
|
137
|
+
export { HpeTableBodyRow };
|
|
138
|
+
/**
|
|
139
|
+
* A composite table component with slotted header and body rows.
|
|
140
|
+
*
|
|
141
|
+
* @tag hpe-table
|
|
142
|
+
* @summary Displays coordinated table header and body rows with responsive mobile overflow treatment.
|
|
143
|
+
*
|
|
144
|
+
* Provide an accessible name with `aria-label` or `aria-labelledby`.
|
|
145
|
+
*
|
|
146
|
+
* @slot header-row - Header row elements, typically `<hpe-table-header-row>`
|
|
147
|
+
* @slot body-row - Body row elements, typically `<hpe-table-body-row>`
|
|
148
|
+
*
|
|
149
|
+
* @csspart container - The outer table container
|
|
150
|
+
* @csspart table - The scrollable table surface
|
|
151
|
+
* @csspart header-rows - The header rows wrapper
|
|
152
|
+
* @csspart body-rows - The body rows wrapper
|
|
153
|
+
* @csspart overflow-gradient - The mobile overflow gradient hint
|
|
154
|
+
*/
|
|
155
|
+
let HpeTable = class HpeTable extends LitElement {
|
|
156
|
+
constructor() {
|
|
157
|
+
super(...arguments);
|
|
158
|
+
this.structureObserver = new MutationObserver(() => {
|
|
159
|
+
this.requestUpdate();
|
|
160
|
+
});
|
|
161
|
+
this.handleSlotChange = () => {
|
|
162
|
+
this.observeStructureChanges();
|
|
163
|
+
this.requestUpdate();
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
connectedCallback() {
|
|
167
|
+
super.connectedCallback();
|
|
168
|
+
this.observeStructureChanges();
|
|
169
|
+
}
|
|
170
|
+
disconnectedCallback() {
|
|
171
|
+
this.structureObserver.disconnect();
|
|
172
|
+
super.disconnectedCallback();
|
|
173
|
+
}
|
|
174
|
+
updated() {
|
|
175
|
+
this.observeStructureChanges();
|
|
176
|
+
}
|
|
177
|
+
render() {
|
|
178
|
+
return html `
|
|
179
|
+
<div part="container" class="container">
|
|
180
|
+
<div class="source-slots" aria-hidden="true">
|
|
181
|
+
<slot name="header-row" @slotchange=${this.handleSlotChange}></slot>
|
|
182
|
+
<slot name="body-row" @slotchange=${this.handleSlotChange}></slot>
|
|
183
|
+
</div>
|
|
184
|
+
<div part="table" class="table">
|
|
185
|
+
<table>
|
|
186
|
+
${this.headerRows.length > 0
|
|
187
|
+
? html `
|
|
188
|
+
<thead part="header-rows" class="header-rows">
|
|
189
|
+
${this.headerRows.map((row) => this.renderHeaderRow(row))}
|
|
190
|
+
</thead>
|
|
191
|
+
`
|
|
192
|
+
: nothing}
|
|
193
|
+
<tbody part="body-rows" class="body-rows">
|
|
194
|
+
${this.bodyRows.map((row, index) => this.renderBodyRow(row, index))}
|
|
195
|
+
</tbody>
|
|
196
|
+
</table>
|
|
197
|
+
</div>
|
|
198
|
+
<div part="overflow-gradient" class="overflow-gradient"></div>
|
|
199
|
+
</div>
|
|
200
|
+
`;
|
|
201
|
+
}
|
|
202
|
+
observeStructureChanges() {
|
|
203
|
+
this.structureObserver.disconnect();
|
|
204
|
+
for (const row of [...this.headerRows, ...this.bodyRows]) {
|
|
205
|
+
this.structureObserver.observe(row, {
|
|
206
|
+
attributes: true,
|
|
207
|
+
attributeFilter: ["type", "orientation"],
|
|
208
|
+
childList: true,
|
|
209
|
+
characterData: true,
|
|
210
|
+
subtree: true,
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
renderHeaderRow(row) {
|
|
215
|
+
const cells = Array.from(row.querySelectorAll("hpe-table-header-cell"));
|
|
216
|
+
return html `
|
|
217
|
+
<tr class=${`header-row ${row.type}`}>
|
|
218
|
+
${cells.map((cell) => html `
|
|
219
|
+
<th scope="col" class=${`header-cell ${row.type}`}>
|
|
220
|
+
<div class="header-cell-content">
|
|
221
|
+
${this.renderCellContent(cell, "Table Heading Cell")}
|
|
222
|
+
</div>
|
|
223
|
+
</th>
|
|
224
|
+
`)}
|
|
225
|
+
</tr>
|
|
226
|
+
`;
|
|
227
|
+
}
|
|
228
|
+
renderBodyRow(row, index) {
|
|
229
|
+
const cells = Array.from(row.querySelectorAll("hpe-table-body-cell"));
|
|
230
|
+
const rowTypeClass = row.type === "stripped" && index % 2 === 1 ? "stripped" : "default";
|
|
231
|
+
return html `
|
|
232
|
+
<tr class=${`body-row ${rowTypeClass} ${row.orientation}`}>
|
|
233
|
+
${cells.map((cell) => html `
|
|
234
|
+
<td class=${`body-cell ${row.orientation}`}>
|
|
235
|
+
<div class="body-cell-content">
|
|
236
|
+
${this.renderCellContent(cell, "Table Body Cell")}
|
|
237
|
+
</div>
|
|
238
|
+
</td>
|
|
239
|
+
`)}
|
|
240
|
+
</tr>
|
|
241
|
+
`;
|
|
242
|
+
}
|
|
243
|
+
renderCellContent(cell, fallbackText) {
|
|
244
|
+
const nodes = Array.from(cell.childNodes);
|
|
245
|
+
if (nodes.length === 0) {
|
|
246
|
+
return fallbackText;
|
|
247
|
+
}
|
|
248
|
+
return nodes.map((node) => node.cloneNode(true));
|
|
249
|
+
}
|
|
250
|
+
};
|
|
251
|
+
HpeTable.styles = styles;
|
|
252
|
+
__decorate([
|
|
253
|
+
queryAssignedElements({ slot: "header-row", flatten: true })
|
|
254
|
+
], HpeTable.prototype, "headerRows", void 0);
|
|
255
|
+
__decorate([
|
|
256
|
+
queryAssignedElements({ slot: "body-row", flatten: true })
|
|
257
|
+
], HpeTable.prototype, "bodyRows", void 0);
|
|
258
|
+
HpeTable = __decorate([
|
|
259
|
+
customElement("hpe-table")
|
|
260
|
+
], HpeTable);
|
|
261
|
+
export { HpeTable };
|
|
262
|
+
//# sourceMappingURL=hpe-table.js.map
|
|
@@ -0,0 +1 @@
|
|
|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O,MAAM,MAAM,yBAmNlB,CAAC"}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
export const styles = css `
|
|
3
|
+
:host {
|
|
4
|
+
--hpe-table-header-font-family: var(
|
|
5
|
+
--hpe-web-heading-font,
|
|
6
|
+
"HPE Graphik",
|
|
7
|
+
Arial,
|
|
8
|
+
sans-serif
|
|
9
|
+
);
|
|
10
|
+
--hpe-table-body-font-family: var(
|
|
11
|
+
--hpe-web-paragraph-font,
|
|
12
|
+
"HPE Graphik",
|
|
13
|
+
Arial,
|
|
14
|
+
sans-serif
|
|
15
|
+
);
|
|
16
|
+
--hpe-table-header-font-size: var(
|
|
17
|
+
--hpe-web-heading-h5-medium-font-size,
|
|
18
|
+
1.25rem
|
|
19
|
+
);
|
|
20
|
+
--hpe-table-header-font-weight: var(
|
|
21
|
+
--hpe-web-heading-h5-medium-font-weight,
|
|
22
|
+
500
|
|
23
|
+
);
|
|
24
|
+
--hpe-table-header-line-height: var(
|
|
25
|
+
--hpe-web-heading-h5-medium-line-height,
|
|
26
|
+
1.3
|
|
27
|
+
);
|
|
28
|
+
--hpe-table-header-letter-spacing: var(
|
|
29
|
+
--hpe-web-heading-h5-medium-letter-spacing,
|
|
30
|
+
0
|
|
31
|
+
);
|
|
32
|
+
--hpe-table-body-font-size: var(
|
|
33
|
+
--hpe-web-paragraph-body-copy-font-size,
|
|
34
|
+
1.25rem
|
|
35
|
+
);
|
|
36
|
+
--hpe-table-body-font-weight: var(
|
|
37
|
+
--hpe-web-paragraph-body-copy-font-weight,
|
|
38
|
+
400
|
|
39
|
+
);
|
|
40
|
+
--hpe-table-body-line-height: var(
|
|
41
|
+
--hpe-web-paragraph-body-copy-line-height,
|
|
42
|
+
1.5
|
|
43
|
+
);
|
|
44
|
+
--hpe-table-body-letter-spacing: var(
|
|
45
|
+
--hpe-web-paragraph-body-copy-letter-spacing,
|
|
46
|
+
-0.01em
|
|
47
|
+
);
|
|
48
|
+
--hpe-table-row-gap: var(--hpe-web-spacing-none, 0px);
|
|
49
|
+
--hpe-table-cell-padding-block: var(--hpe-web-spacing-medium, 2rem);
|
|
50
|
+
--hpe-table-cell-padding-inline: var(--hpe-web-spacing-small, 1.5rem);
|
|
51
|
+
--hpe-table-mobile-cell-width: 11.875rem;
|
|
52
|
+
--hpe-table-mobile-overflow-width: 7.25rem;
|
|
53
|
+
--hpe-table-header-border-width: 0.25rem;
|
|
54
|
+
--hpe-table-header-text-color: var(--hpe-web-color-text-strong, #292d3a);
|
|
55
|
+
--hpe-table-body-text-color: var(--hpe-web-color-text-default, #3e4550);
|
|
56
|
+
display: block;
|
|
57
|
+
box-sizing: border-box;
|
|
58
|
+
width: 100%;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.container {
|
|
62
|
+
position: relative;
|
|
63
|
+
width: 100%;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.source-slots {
|
|
67
|
+
display: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.table {
|
|
71
|
+
width: 100%;
|
|
72
|
+
overflow-x: hidden;
|
|
73
|
+
background: var(--hpe-web-color-background-default, #ffffff);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.table > table {
|
|
77
|
+
width: 100%;
|
|
78
|
+
border-collapse: collapse;
|
|
79
|
+
border-spacing: 0;
|
|
80
|
+
table-layout: fixed;
|
|
81
|
+
background: var(--hpe-web-color-background-default, #ffffff);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.header-rows,
|
|
85
|
+
.body-rows {
|
|
86
|
+
width: 100%;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.overflow-gradient {
|
|
90
|
+
display: none;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.header-row {
|
|
94
|
+
width: 100%;
|
|
95
|
+
border-bottom: var(--hpe-table-header-border-width) solid
|
|
96
|
+
var(--hpe-web-color-border-default, #b1b9be);
|
|
97
|
+
background: transparent;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.header-row.gray {
|
|
101
|
+
background: var(--hpe-web-color-background-card, #f7f7f7);
|
|
102
|
+
border-bottom-color: var(--hpe-web-color-border-weak, #d4d8db);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.header-row.dark {
|
|
106
|
+
background: var(--hpe-web-color-background-neutral-strong, #1d1f27);
|
|
107
|
+
border-bottom-color: var(--hpe-web-base-color-white-opacity12, #ffffff1f);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.header-cell {
|
|
111
|
+
box-sizing: border-box;
|
|
112
|
+
min-height: 5.625rem;
|
|
113
|
+
padding: var(--hpe-table-cell-padding-block)
|
|
114
|
+
var(--hpe-table-cell-padding-inline);
|
|
115
|
+
text-align: center;
|
|
116
|
+
vertical-align: middle;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.header-cell-content {
|
|
120
|
+
display: flex;
|
|
121
|
+
align-items: center;
|
|
122
|
+
justify-content: center;
|
|
123
|
+
width: 100%;
|
|
124
|
+
color: var(--hpe-table-header-text-color, #292d3a);
|
|
125
|
+
font-family: var(--hpe-table-header-font-family);
|
|
126
|
+
font-size: var(--hpe-table-header-font-size);
|
|
127
|
+
font-weight: var(--hpe-table-header-font-weight);
|
|
128
|
+
line-height: var(--hpe-table-header-line-height);
|
|
129
|
+
letter-spacing: var(--hpe-table-header-letter-spacing);
|
|
130
|
+
text-align: center;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.header-cell.dark .header-cell-content {
|
|
134
|
+
color: var(--hpe-web-color-text-on-strong, #ffffff);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.body-row {
|
|
138
|
+
width: 100%;
|
|
139
|
+
border-top: 1px solid var(--hpe-web-color-border-weak, #d4d8db);
|
|
140
|
+
border-bottom: 1px solid var(--hpe-web-color-border-weak, #d4d8db);
|
|
141
|
+
background: var(--hpe-web-color-background-default, #ffffff);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.body-row.stripped {
|
|
145
|
+
background: var(--hpe-web-color-background-card, #f7f7f7);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.body-cell {
|
|
149
|
+
box-sizing: border-box;
|
|
150
|
+
min-height: 5.875rem;
|
|
151
|
+
padding: var(--hpe-table-cell-padding-block)
|
|
152
|
+
var(--hpe-table-cell-padding-inline);
|
|
153
|
+
vertical-align: middle;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.body-cell-content {
|
|
157
|
+
display: flex;
|
|
158
|
+
align-items: center;
|
|
159
|
+
width: 100%;
|
|
160
|
+
color: var(--hpe-table-body-text-color);
|
|
161
|
+
font-family: var(--hpe-table-body-font-family);
|
|
162
|
+
font-size: var(--hpe-table-body-font-size);
|
|
163
|
+
font-weight: var(--hpe-table-body-font-weight);
|
|
164
|
+
line-height: var(--hpe-table-body-line-height);
|
|
165
|
+
letter-spacing: var(--hpe-table-body-letter-spacing);
|
|
166
|
+
text-align: left;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.body-row.vertical .body-cell {
|
|
170
|
+
display: block;
|
|
171
|
+
width: 100%;
|
|
172
|
+
min-width: 100%;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
@media (max-width: 48rem) {
|
|
176
|
+
.table {
|
|
177
|
+
overflow-x: auto;
|
|
178
|
+
scrollbar-width: none;
|
|
179
|
+
-ms-overflow-style: none;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.table::-webkit-scrollbar {
|
|
183
|
+
display: none;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.table > table {
|
|
187
|
+
width: max-content;
|
|
188
|
+
min-width: 100%;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.overflow-gradient {
|
|
192
|
+
position: absolute;
|
|
193
|
+
top: 0;
|
|
194
|
+
right: 0;
|
|
195
|
+
bottom: 0;
|
|
196
|
+
display: block;
|
|
197
|
+
z-index: 1;
|
|
198
|
+
width: var(--hpe-table-mobile-overflow-width);
|
|
199
|
+
pointer-events: none;
|
|
200
|
+
background: linear-gradient(
|
|
201
|
+
270deg,
|
|
202
|
+
var(--hpe-web-color-gradient-content-overlay-stop50) 50%,
|
|
203
|
+
var(--hpe-web-color-gradient-content-overlay-stop0) 100%
|
|
204
|
+
);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.header-cell,
|
|
208
|
+
.body-cell {
|
|
209
|
+
min-width: var(--hpe-table-mobile-cell-width);
|
|
210
|
+
width: var(--hpe-table-mobile-cell-width);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
`;
|
|
214
|
+
//# sourceMappingURL=hpe-table.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hpe-table.styles.js","sourceRoot":"","sources":["../../../elements/hpe-table/hpe-table.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmNxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../elements/hpe-table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,GACjB,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../elements/hpe-table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,gBAAgB,GACjB,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
type ColumnsVariant = "1" | "2" | "3" | "4" | "5" | "40:60" | "60:40" | "33:66" | "66:33" | "20:80" | "80:20";
|
|
3
|
+
type Orientation = "horizontal" | "vertical";
|
|
4
|
+
type Order = "default" | "reverse";
|
|
5
|
+
/**
|
|
6
|
+
* A layout primitive that arranges slotted content into configurable columns.
|
|
7
|
+
*
|
|
8
|
+
* @tag hpe-columns
|
|
9
|
+
* @summary Distributes content into horizontal or vertical column layouts with optional reverse order.
|
|
10
|
+
*
|
|
11
|
+
* @attr {string} columns - Layout variant: '1' | '2' | '3' | '4' | '5' | '40:60' | '60:40' | '33:66' | '66:33' | '20:80' | '80:20'
|
|
12
|
+
* @attr {string} orientation - Layout direction: 'horizontal' | 'vertical'
|
|
13
|
+
* @attr {string} order - Item order: 'default' | 'reverse'
|
|
14
|
+
*
|
|
15
|
+
* @slot column-1 - Content for the first column
|
|
16
|
+
* @slot column-2 - Content for the second column
|
|
17
|
+
* @slot column-3 - Content for the third column
|
|
18
|
+
* @slot column-4 - Content for the fourth column
|
|
19
|
+
* @slot column-5 - Content for the fifth column
|
|
20
|
+
*
|
|
21
|
+
* @csspart columns - The columns layout container
|
|
22
|
+
* @csspart column - A column wrapper element
|
|
23
|
+
*/
|
|
24
|
+
export declare class HpeColumns extends LitElement {
|
|
25
|
+
static styles: import("lit").CSSResult;
|
|
26
|
+
columns: ColumnsVariant;
|
|
27
|
+
orientation: Orientation;
|
|
28
|
+
order: Order;
|
|
29
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
30
|
+
private renderColumn;
|
|
31
|
+
private shouldRenderColumn;
|
|
32
|
+
private get columnCount();
|
|
33
|
+
}
|
|
34
|
+
declare global {
|
|
35
|
+
interface HTMLElementTagNameMap {
|
|
36
|
+
"hpe-columns": HpeColumns;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
40
|
+
//# sourceMappingURL=hpe-columns.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hpe-columns.d.ts","sourceRoot":"","sources":["../../../foundation/hpe-columns/hpe-columns.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAIvC,KAAK,cAAc,GACf,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,CAAC;AAEZ,KAAK,WAAW,GAAG,YAAY,GAAG,UAAU,CAAC;AAC7C,KAAK,KAAK,GAAG,SAAS,GAAG,SAAS,CAAC;AAEnC;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBACa,UAAW,SAAQ,UAAU;IACxC,OAAgB,MAAM,0BAAU;IAGhC,OAAO,EAAE,cAAc,CAAO;IAG9B,WAAW,EAAE,WAAW,CAAgB;IAGxC,KAAK,EAAE,KAAK,CAAa;IAEhB,MAAM;IAYf,OAAO,CAAC,YAAY;IAQpB,OAAO,CAAC,kBAAkB;IAI1B,OAAO,KAAK,WAAW,GAMtB;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,UAAU,CAAC;KAC3B;CACF"}
|