@kyndryl-design-system/shidoka-applications 1.5.3 → 1.6.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/components/reusable/modal/modal.d.ts +1 -1
- package/components/reusable/modal/modal.d.ts.map +1 -1
- package/components/reusable/modal/modal.js +18 -3
- package/components/reusable/modal/modal.js.map +1 -1
- package/components/reusable/modal/modal.scss.js +31 -19
- package/components/reusable/modal/modal.scss.js.map +1 -1
- package/components/reusable/sideDrawer/index.d.ts +2 -0
- package/components/reusable/sideDrawer/index.d.ts.map +1 -0
- package/components/reusable/sideDrawer/index.js +2 -0
- package/components/reusable/sideDrawer/index.js.map +1 -0
- package/components/reusable/sideDrawer/sideDrawer.d.ts +59 -0
- package/components/reusable/sideDrawer/sideDrawer.d.ts.map +1 -0
- package/components/reusable/sideDrawer/sideDrawer.js +73 -0
- package/components/reusable/sideDrawer/sideDrawer.js.map +1 -0
- package/components/reusable/sideDrawer/sideDrawer.scss.js +250 -0
- package/components/reusable/sideDrawer/sideDrawer.scss.js.map +1 -0
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ import '@kyndryl-design-system/shidoka-foundation/components/icon';
|
|
|
8
8
|
* @fires on-close - Emits the modal close event with `returnValue` (`'ok'` or `'cancel'`).
|
|
9
9
|
*/
|
|
10
10
|
export declare class Modal extends LitElement {
|
|
11
|
-
static styles: import("lit").CSSResultGroup;
|
|
11
|
+
static styles: import("lit").CSSResultGroup[];
|
|
12
12
|
/** Modal open state. */
|
|
13
13
|
open: boolean;
|
|
14
14
|
/** Modal size. `'auto'`, `'md'`, or `'lg'`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../../src/components/reusable/modal/modal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../../../src/components/reusable/modal/modal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAK5C,OAAO,6DAA6D,CAAC;AACrE,OAAO,2DAA2D,CAAC;AAInE;;;;;GAKG;AACH,qBACa,KAAM,SAAQ,UAAU;IACnC,OAAgB,MAAM,iCAkBpB;IAEF,wBAAwB;IAExB,IAAI,UAAS;IAEb,+CAA+C;IAE/C,IAAI,SAAU;IAEd,oCAAoC;IAEpC,SAAS,SAAM;IAEf,4BAA4B;IAE5B,SAAS,SAAM;IAEf,sBAAsB;IAEtB,MAAM,SAAQ;IAEd,0BAA0B;IAE1B,UAAU,SAAY;IAEtB,+EAA+E;IAE/E,WAAW,UAAS;IAEpB,mCAAmC;IAEnC,UAAU,UAAS;IAEnB,4LAA4L;IAE5L,WAAW,EAAG,QAAQ,CAAC;IAEvB;;OAEG;IAEH,OAAO,EAAG,GAAG,CAAC;IAEL,MAAM;IAkEf,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,WAAW;IAWnB,OAAO,CAAC,eAAe;IAUd,OAAO,CAAC,YAAY,EAAE,GAAG;CASnC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,WAAW,EAAE,KAAK,CAAC;KACpB;CACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{__decorate as e}from"../../../_virtual/_tslib.js";import'./../../../external/@lit/reactive-element/reactive-element.js';import{html as t}from'./../../../external/lit-html/lit-html.js';import{LitElement as o}from'./../../../external/lit-element/lit-element.js';import{customElement as s}from'./../../../external/@lit/reactive-element/decorators/custom-element.js';import{property as i}from'./../../../external/@lit/reactive-element/decorators/property.js';import{query as l}from'./../../../external/@lit/reactive-element/decorators/query.js';import'./../../../external/@lit/reactive-element/decorators/query-assigned-elements.js';import{classMap as a}from'./../../../external/lit-html/directives/class-map.js';import n from"./modal.scss.js";import"@kyndryl-design-system/shidoka-foundation/components/button";import"@kyndryl-design-system/shidoka-foundation/components/icon";import
|
|
1
|
+
import{__decorate as e}from"../../../_virtual/_tslib.js";import'./../../../external/@lit/reactive-element/reactive-element.js';import{html as t}from'./../../../external/lit-html/lit-html.js';import{LitElement as o}from'./../../../external/lit-element/lit-element.js';import{customElement as s}from'./../../../external/@lit/reactive-element/decorators/custom-element.js';import{property as i}from'./../../../external/@lit/reactive-element/decorators/property.js';import{query as l}from'./../../../external/@lit/reactive-element/decorators/query.js';import'./../../../external/@lit/reactive-element/decorators/query-assigned-elements.js';import{classMap as a}from'./../../../external/lit-html/directives/class-map.js';import n from"./modal.scss.js";import"@kyndryl-design-system/shidoka-foundation/components/button";import"@kyndryl-design-system/shidoka-foundation/components/icon";import r from'./../../../external/@carbon/icons/es/close/32.js';import{css as d}from'./../../../external/@lit/reactive-element/css-tag.js';let c=class extends o{constructor(){super(...arguments),this.open=!1,this.size="auto",this.titleText="",this.labelText="",this.okText="OK",this.cancelText="Cancel",this.destructive=!1,this.okDisabled=!1}render(){const e={modal:!0,"size--md":"md"===this.size,"size--lg":"lg"===this.size};return t`
|
|
2
2
|
<button class="anchor" @click=${this._openModal}>
|
|
3
3
|
<slot name="anchor"></slot>
|
|
4
4
|
</button>
|
|
@@ -13,7 +13,7 @@ import{__decorate as e}from"../../../_virtual/_tslib.js";import'./../../../exter
|
|
|
13
13
|
class="close"
|
|
14
14
|
@click=${e=>this._closeModal(e,"cancel")}
|
|
15
15
|
>
|
|
16
|
-
<kd-icon .icon=${
|
|
16
|
+
<kd-icon .icon=${r}></kd-icon>
|
|
17
17
|
</button>
|
|
18
18
|
|
|
19
19
|
<header>
|
|
@@ -52,5 +52,20 @@ import{__decorate as e}from"../../../_virtual/_tslib.js";import'./../../../exter
|
|
|
52
52
|
</div>
|
|
53
53
|
</form>
|
|
54
54
|
</dialog>
|
|
55
|
-
`}_openModal(){this.open=!0}_closeModal(e,t){(!this.beforeClose||this.beforeClose&&this.beforeClose(t))&&(this.open=!1,this._dialog.returnValue=t,this._emitCloseEvent(e))}_emitCloseEvent(e){const t=new CustomEvent("on-close",{detail:{returnValue:this._dialog.returnValue,origEvent:e}});this.dispatchEvent(t)}updated(e){e.has("open")&&(this.open?this._dialog.showModal():this._dialog.close())}};
|
|
55
|
+
`}_openModal(){this.open=!0}_closeModal(e,t){(!this.beforeClose||this.beforeClose&&this.beforeClose(t))&&(this.open=!1,this._dialog.returnValue=t,this._emitCloseEvent(e))}_emitCloseEvent(e){const t=new CustomEvent("on-close",{detail:{returnValue:this._dialog.returnValue,origEvent:e}});this.dispatchEvent(t)}updated(e){e.has("open")&&(this.open?this._dialog.showModal():this._dialog.close())}};c.styles=[n,d`
|
|
56
|
+
@supports (transition-behavior: allow-discrete) {
|
|
57
|
+
@starting-style {
|
|
58
|
+
dialog[open] {
|
|
59
|
+
opacity: 0;
|
|
60
|
+
transform: scale(0);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@starting-style {
|
|
65
|
+
dialog[open]::backdrop {
|
|
66
|
+
background-color: rgb(0, 0, 0, 0);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
`],e([i({type:Boolean})],c.prototype,"open",void 0),e([i({type:String})],c.prototype,"size",void 0),e([i({type:String})],c.prototype,"titleText",void 0),e([i({type:String})],c.prototype,"labelText",void 0),e([i({type:String})],c.prototype,"okText",void 0),e([i({type:String})],c.prototype,"cancelText",void 0),e([i({type:Boolean})],c.prototype,"destructive",void 0),e([i({type:Boolean})],c.prototype,"okDisabled",void 0),e([i({attribute:!1})],c.prototype,"beforeClose",void 0),e([l("dialog")],c.prototype,"_dialog",void 0),c=e([s("kyn-modal")],c);export{c as Modal};
|
|
56
71
|
//# sourceMappingURL=modal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.js","sources":["../../../../src/components/reusable/modal/modal.ts"],"sourcesContent":["import { LitElement, html } from 'lit';\nimport { customElement, property, query } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport ModalScss from './modal.scss';\n\nimport '@kyndryl-design-system/shidoka-foundation/components/button';\nimport '@kyndryl-design-system/shidoka-foundation/components/icon';\n\nimport closeIcon from '@carbon/icons/es/close/32';\n\n/**\n * Modal.\n * @slot unnamed - Slot for modal body content.\n * @slot anchor - Slot for the anchor button content.\n * @fires on-close - Emits the modal close event with `returnValue` (`'ok'` or `'cancel'`).\n */\n@customElement('kyn-modal')\nexport class Modal extends LitElement {\n static override styles = ModalScss;\n\n /** Modal open state. */\n @property({ type: Boolean })\n open = false;\n\n /** Modal size. `'auto'`, `'md'`, or `'lg'`. */\n @property({ type: String })\n size = 'auto';\n\n /** Title/heading text, required. */\n @property({ type: String })\n titleText = '';\n\n /** Label text, optional. */\n @property({ type: String })\n labelText = '';\n\n /** OK button text. */\n @property({ type: String })\n okText = 'OK';\n\n /** Cancel button text. */\n @property({ type: String })\n cancelText = 'Cancel';\n\n /** Changes the primary button styles to indicate the action is destructive. */\n @property({ type: Boolean })\n destructive = false;\n\n /** Disables the primary button. */\n @property({ type: Boolean })\n okDisabled = false;\n\n /** Function to execute before the modal can close. Useful for running checks or validations before closing. Exposes `returnValue` (`'ok'` or `'cancel'`). Must return `true` or `false`. */\n @property({ attribute: false })\n beforeClose!: Function;\n\n /** The dialog element\n * @internal\n */\n @query('dialog')\n _dialog!: any;\n\n override render() {\n const classes = {\n modal: true,\n 'size--md': this.size === 'md',\n 'size--lg': this.size === 'lg',\n };\n\n return html`\n <button class=\"anchor\" @click=${this._openModal}>\n <slot name=\"anchor\"></slot>\n </button>\n\n <dialog\n class=\"${classMap(classes)}\"\n autofocus\n aria-labelledby=\"dialogLabel\"\n @cancel=${(e: Event) => this._closeModal(e, 'cancel')}\n >\n <button\n class=\"close\"\n @click=${(e: Event) => this._closeModal(e, 'cancel')}\n >\n <kd-icon .icon=${closeIcon}></kd-icon>\n </button>\n\n <header>\n <div>\n ${this.labelText !== ''\n ? html`<span class=\"label\">${this.labelText}</span>`\n : null}\n <h1 id=\"dialogLabel\">${this.titleText}</h1>\n </div>\n </header>\n\n <form method=\"dialog\" class=\"body\">\n <slot></slot>\n\n <div class=\"actions\">\n <kd-button\n value=\"ok\"\n ?destructive=${this.destructive}\n ?disabled=${this.okDisabled}\n @click=${(e: Event) => this._closeModal(e, 'ok')}\n >\n ${this.okText}\n </kd-button>\n\n <kd-button\n value=\"cancel\"\n kind=\"secondary\"\n @click=${(e: Event) => this._closeModal(e, 'cancel')}\n >\n ${this.cancelText}\n </kd-button>\n\n <!--\n <div class=\"custom-actions\">\n <slot name=\"actions\"></slot>\n </div>\n -->\n </div>\n </form>\n </dialog>\n `;\n }\n\n private _openModal() {\n this.open = true;\n }\n\n private _closeModal(e: Event, returnValue: string) {\n if (\n !this.beforeClose ||\n (this.beforeClose && this.beforeClose(returnValue))\n ) {\n this.open = false;\n this._dialog.returnValue = returnValue;\n this._emitCloseEvent(e);\n }\n }\n\n private _emitCloseEvent(e: Event) {\n const event = new CustomEvent('on-close', {\n detail: {\n returnValue: this._dialog.returnValue,\n origEvent: e,\n },\n });\n this.dispatchEvent(event);\n }\n\n override updated(changedProps: any) {\n if (changedProps.has('open')) {\n if (this.open) {\n this._dialog.showModal();\n } else {\n this._dialog.close();\n }\n }\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'kyn-modal': Modal;\n }\n}\n"],"names":["Modal","LitElement","constructor","this","open","size","titleText","labelText","okText","cancelText","destructive","okDisabled","render","classes","modal","html","_openModal","classMap","e","_closeModal","closeIcon","returnValue","beforeClose","_dialog","_emitCloseEvent","event","CustomEvent","detail","origEvent","dispatchEvent","updated","changedProps","has","showModal","close","styles","ModalScss","__decorate","property","type","Boolean","prototype","String","attribute","query","customElement"],"mappings":"
|
|
1
|
+
{"version":3,"file":"modal.js","sources":["../../../../src/components/reusable/modal/modal.ts"],"sourcesContent":["import { LitElement, html, css } from 'lit';\nimport { customElement, property, query } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport ModalScss from './modal.scss';\n\nimport '@kyndryl-design-system/shidoka-foundation/components/button';\nimport '@kyndryl-design-system/shidoka-foundation/components/icon';\n\nimport closeIcon from '@carbon/icons/es/close/32';\n\n/**\n * Modal.\n * @slot unnamed - Slot for modal body content.\n * @slot anchor - Slot for the anchor button content.\n * @fires on-close - Emits the modal close event with `returnValue` (`'ok'` or `'cancel'`).\n */\n@customElement('kyn-modal')\nexport class Modal extends LitElement {\n static override styles = [\n ModalScss,\n css`\n @supports (transition-behavior: allow-discrete) {\n @starting-style {\n dialog[open] {\n opacity: 0;\n transform: scale(0);\n }\n }\n\n @starting-style {\n dialog[open]::backdrop {\n background-color: rgb(0, 0, 0, 0);\n }\n }\n }\n `,\n ];\n\n /** Modal open state. */\n @property({ type: Boolean })\n open = false;\n\n /** Modal size. `'auto'`, `'md'`, or `'lg'`. */\n @property({ type: String })\n size = 'auto';\n\n /** Title/heading text, required. */\n @property({ type: String })\n titleText = '';\n\n /** Label text, optional. */\n @property({ type: String })\n labelText = '';\n\n /** OK button text. */\n @property({ type: String })\n okText = 'OK';\n\n /** Cancel button text. */\n @property({ type: String })\n cancelText = 'Cancel';\n\n /** Changes the primary button styles to indicate the action is destructive. */\n @property({ type: Boolean })\n destructive = false;\n\n /** Disables the primary button. */\n @property({ type: Boolean })\n okDisabled = false;\n\n /** Function to execute before the modal can close. Useful for running checks or validations before closing. Exposes `returnValue` (`'ok'` or `'cancel'`). Must return `true` or `false`. */\n @property({ attribute: false })\n beforeClose!: Function;\n\n /** The dialog element\n * @internal\n */\n @query('dialog')\n _dialog!: any;\n\n override render() {\n const classes = {\n modal: true,\n 'size--md': this.size === 'md',\n 'size--lg': this.size === 'lg',\n };\n\n return html`\n <button class=\"anchor\" @click=${this._openModal}>\n <slot name=\"anchor\"></slot>\n </button>\n\n <dialog\n class=\"${classMap(classes)}\"\n autofocus\n aria-labelledby=\"dialogLabel\"\n @cancel=${(e: Event) => this._closeModal(e, 'cancel')}\n >\n <button\n class=\"close\"\n @click=${(e: Event) => this._closeModal(e, 'cancel')}\n >\n <kd-icon .icon=${closeIcon}></kd-icon>\n </button>\n\n <header>\n <div>\n ${this.labelText !== ''\n ? html`<span class=\"label\">${this.labelText}</span>`\n : null}\n <h1 id=\"dialogLabel\">${this.titleText}</h1>\n </div>\n </header>\n\n <form method=\"dialog\" class=\"body\">\n <slot></slot>\n\n <div class=\"actions\">\n <kd-button\n value=\"ok\"\n ?destructive=${this.destructive}\n ?disabled=${this.okDisabled}\n @click=${(e: Event) => this._closeModal(e, 'ok')}\n >\n ${this.okText}\n </kd-button>\n\n <kd-button\n value=\"cancel\"\n kind=\"secondary\"\n @click=${(e: Event) => this._closeModal(e, 'cancel')}\n >\n ${this.cancelText}\n </kd-button>\n\n <!--\n <div class=\"custom-actions\">\n <slot name=\"actions\"></slot>\n </div>\n -->\n </div>\n </form>\n </dialog>\n `;\n }\n\n private _openModal() {\n this.open = true;\n }\n\n private _closeModal(e: Event, returnValue: string) {\n if (\n !this.beforeClose ||\n (this.beforeClose && this.beforeClose(returnValue))\n ) {\n this.open = false;\n this._dialog.returnValue = returnValue;\n this._emitCloseEvent(e);\n }\n }\n\n private _emitCloseEvent(e: Event) {\n const event = new CustomEvent('on-close', {\n detail: {\n returnValue: this._dialog.returnValue,\n origEvent: e,\n },\n });\n this.dispatchEvent(event);\n }\n\n override updated(changedProps: any) {\n if (changedProps.has('open')) {\n if (this.open) {\n this._dialog.showModal();\n } else {\n this._dialog.close();\n }\n }\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'kyn-modal': Modal;\n }\n}\n"],"names":["Modal","LitElement","constructor","this","open","size","titleText","labelText","okText","cancelText","destructive","okDisabled","render","classes","modal","html","_openModal","classMap","e","_closeModal","closeIcon","returnValue","beforeClose","_dialog","_emitCloseEvent","event","CustomEvent","detail","origEvent","dispatchEvent","updated","changedProps","has","showModal","close","styles","ModalScss","css","__decorate","property","type","Boolean","prototype","String","attribute","query","customElement"],"mappings":"ghCAiBO,IAAMA,EAAN,cAAoBC,EAApBC,kCAuBLC,KAAIC,MAAG,EAIPD,KAAIE,KAAG,OAIPF,KAASG,UAAG,GAIZH,KAASI,UAAG,GAIZJ,KAAMK,OAAG,KAITL,KAAUM,WAAG,SAIbN,KAAWO,aAAG,EAIdP,KAAUQ,YAAG,CAgHd,CApGUC,SACP,MAAMC,EAAU,CACdC,OAAO,EACP,WAA0B,OAAdX,KAAKE,KACjB,WAA0B,OAAdF,KAAKE,MAGnB,OAAOU,CAAI;sCACuBZ,KAAKa;;;;;iBAK1BC,EAASJ;;;kBAGPK,GAAaf,KAAKgB,YAAYD,EAAG;;;;mBAIhCA,GAAaf,KAAKgB,YAAYD,EAAG;;2BAE1BE;;;;;cAKM,KAAnBjB,KAAKI,UACHQ,CAAI,uBAAuBZ,KAAKI,mBAChC;mCACmBJ,KAAKG;;;;;;;;;;6BAUXH,KAAKO;0BACRP,KAAKQ;uBACPO,GAAaf,KAAKgB,YAAYD,EAAG;;gBAEzCf,KAAKK;;;;;;uBAMGU,GAAaf,KAAKgB,YAAYD,EAAG;;gBAEzCf,KAAKM;;;;;;;;;;;KAYlB,CAEOO,aACNb,KAAKC,MAAO,CACb,CAEOe,YAAYD,EAAUG,KAEzBlB,KAAKmB,aACLnB,KAAKmB,aAAenB,KAAKmB,YAAYD,MAEtClB,KAAKC,MAAO,EACZD,KAAKoB,QAAQF,YAAcA,EAC3BlB,KAAKqB,gBAAgBN,GAExB,CAEOM,gBAAgBN,GACtB,MAAMO,EAAQ,IAAIC,YAAY,WAAY,CACxCC,OAAQ,CACNN,YAAalB,KAAKoB,QAAQF,YAC1BO,UAAWV,KAGff,KAAK0B,cAAcJ,EACpB,CAEQK,QAAQC,GACXA,EAAaC,IAAI,UACf7B,KAAKC,KACPD,KAAKoB,QAAQU,YAEb9B,KAAKoB,QAAQW,QAGlB,GAjKelC,EAAAmC,OAAS,CACvBC,EACAC,CAAG;;;;;;;;;;;;;;;OAoBLC,EAAA,CADCC,EAAS,CAAEC,KAAMC,WACLzC,EAAA0C,UAAA,YAAA,GAIbJ,EAAA,CADCC,EAAS,CAAEC,KAAMG,UACJ3C,EAAA0C,UAAA,YAAA,GAIdJ,EAAA,CADCC,EAAS,CAAEC,KAAMG,UACH3C,EAAA0C,UAAA,iBAAA,GAIfJ,EAAA,CADCC,EAAS,CAAEC,KAAMG,UACH3C,EAAA0C,UAAA,iBAAA,GAIfJ,EAAA,CADCC,EAAS,CAAEC,KAAMG,UACJ3C,EAAA0C,UAAA,cAAA,GAIdJ,EAAA,CADCC,EAAS,CAAEC,KAAMG,UACI3C,EAAA0C,UAAA,kBAAA,GAItBJ,EAAA,CADCC,EAAS,CAAEC,KAAMC,WACEzC,EAAA0C,UAAA,mBAAA,GAIpBJ,EAAA,CADCC,EAAS,CAAEC,KAAMC,WACCzC,EAAA0C,UAAA,kBAAA,GAInBJ,EAAA,CADCC,EAAS,CAAEK,WAAW,KACA5C,EAAA0C,UAAA,mBAAA,GAMvBJ,EAAA,CADCO,EAAM,WACO7C,EAAA0C,UAAA,eAAA,GA7DH1C,EAAKsC,EAAA,CADjBQ,EAAc,cACF9C"}
|
|
@@ -44,10 +44,10 @@ dialog {
|
|
|
44
44
|
max-height: calc(100% - 32px);
|
|
45
45
|
}
|
|
46
46
|
dialog[open] {
|
|
47
|
-
animation: dialog-in
|
|
47
|
+
animation: dialog-in 400ms ease-out;
|
|
48
48
|
}
|
|
49
49
|
dialog::backdrop {
|
|
50
|
-
background:
|
|
50
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
51
51
|
}
|
|
52
52
|
dialog.size--md {
|
|
53
53
|
width: 384px;
|
|
@@ -56,6 +56,35 @@ dialog.size--lg {
|
|
|
56
56
|
width: 711px;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
+
@supports (transition-behavior: allow-discrete) {
|
|
60
|
+
dialog {
|
|
61
|
+
transition: opacity 400ms ease-out, transform 400ms ease-out, overlay 400ms ease-out allow-discrete, display 400ms ease-out allow-discrete;
|
|
62
|
+
opacity: 0;
|
|
63
|
+
transform: scale(0);
|
|
64
|
+
}
|
|
65
|
+
dialog::backdrop {
|
|
66
|
+
background-color: rgba(0, 0, 0, 0);
|
|
67
|
+
transition: display 400ms allow-discrete, overlay 400ms allow-discrete, background-color 400ms;
|
|
68
|
+
}
|
|
69
|
+
dialog[open] {
|
|
70
|
+
animation: none;
|
|
71
|
+
opacity: 1;
|
|
72
|
+
transform: scale(1);
|
|
73
|
+
}
|
|
74
|
+
dialog[open]::backdrop {
|
|
75
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
@keyframes dialog-in {
|
|
79
|
+
0% {
|
|
80
|
+
opacity: 0;
|
|
81
|
+
transform: scale(0);
|
|
82
|
+
}
|
|
83
|
+
100% {
|
|
84
|
+
opacity: 1;
|
|
85
|
+
transform: scale(1);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
59
88
|
button {
|
|
60
89
|
appearance: none;
|
|
61
90
|
background: none;
|
|
@@ -183,22 +212,5 @@ h1 {
|
|
|
183
212
|
display: flex;
|
|
184
213
|
align-items: center;
|
|
185
214
|
gap: 16px;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
@keyframes dialog-in {
|
|
189
|
-
0% {
|
|
190
|
-
opacity: 0;
|
|
191
|
-
transform: scale(0);
|
|
192
|
-
box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0);
|
|
193
|
-
}
|
|
194
|
-
75% {
|
|
195
|
-
transform: scale(1.1);
|
|
196
|
-
box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.4);
|
|
197
|
-
}
|
|
198
|
-
100% {
|
|
199
|
-
opacity: 1;
|
|
200
|
-
transform: scale(1);
|
|
201
|
-
box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.4);
|
|
202
|
-
}
|
|
203
215
|
}`;export{e as default};
|
|
204
216
|
//# sourceMappingURL=modal.scss.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"modal.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/reusable/sideDrawer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '@kyndryl-design-system/shidoka-foundation/components/button';
|
|
3
|
+
import '@kyndryl-design-system/shidoka-foundation/components/icon';
|
|
4
|
+
/**
|
|
5
|
+
* Side Drawer.
|
|
6
|
+
* @slot unnamed - Slot for drawer body content.
|
|
7
|
+
* @slot anchor - Slot for the anchor button content.
|
|
8
|
+
* @fires on-close - Emits the drawer close event with `returnValue` (`'ok'` or `'cancel'`).
|
|
9
|
+
*/
|
|
10
|
+
export declare class SideDrawer extends LitElement {
|
|
11
|
+
static styles: import("lit").CSSResultGroup[];
|
|
12
|
+
/**
|
|
13
|
+
* Drawer open state.
|
|
14
|
+
*/
|
|
15
|
+
open: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Drawer size. `'md'`, or `'sm'`.
|
|
18
|
+
*/
|
|
19
|
+
size: string;
|
|
20
|
+
/**
|
|
21
|
+
* Title / Heading text, required.
|
|
22
|
+
*/
|
|
23
|
+
titleText: string;
|
|
24
|
+
/**
|
|
25
|
+
* Label text, optional.
|
|
26
|
+
*/
|
|
27
|
+
labelText: string;
|
|
28
|
+
/**
|
|
29
|
+
* Submit button text.
|
|
30
|
+
*/
|
|
31
|
+
submitBtnText: string;
|
|
32
|
+
/**
|
|
33
|
+
* Cancel button text.
|
|
34
|
+
*/
|
|
35
|
+
cancelBtnText: string;
|
|
36
|
+
/** Disables the primary button. */
|
|
37
|
+
submitBtnDisabled: boolean;
|
|
38
|
+
/** Determine whether needs footer */
|
|
39
|
+
hideFooter: boolean;
|
|
40
|
+
/** Changes the primary button styles to indicate the action is destructive. */
|
|
41
|
+
destructive: boolean;
|
|
42
|
+
/** Function to execute before the Drawer can close. Useful for running checks or validations before closing. Exposes `returnValue` (`'ok'` or `'cancel'`). Must return `true` or `false`. */
|
|
43
|
+
beforeClose: Function;
|
|
44
|
+
/** The dialog element
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
_dialog: any;
|
|
48
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
49
|
+
private _openDrawer;
|
|
50
|
+
private _closeDrawer;
|
|
51
|
+
private _emitCloseEvent;
|
|
52
|
+
updated(changedProps: any): void;
|
|
53
|
+
}
|
|
54
|
+
declare global {
|
|
55
|
+
interface HTMLElementTagNameMap {
|
|
56
|
+
'kyn-side-drawer': SideDrawer;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=sideDrawer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sideDrawer.d.ts","sourceRoot":"","sources":["../../../../src/components/reusable/sideDrawer/sideDrawer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAK5C,OAAO,6DAA6D,CAAC;AACrE,OAAO,2DAA2D,CAAC;AAGnE;;;;;GAKG;AAEH,qBACa,UAAW,SAAQ,UAAU;IACxC,OAAgB,MAAM,iCAkBpB;IAEF;;OAEG;IAEH,IAAI,UAAS;IAEb;;OAEG;IAEH,IAAI,SAAQ;IAEZ;;OAEG;IAEH,SAAS,SAAM;IAEf;;OAEG;IAEH,SAAS,SAAM;IAEf;;OAEG;IAEH,aAAa,SAAQ;IAErB;;OAEG;IAEH,aAAa,SAAY;IAEzB,mCAAmC;IAEnC,iBAAiB,UAAS;IAE1B,qCAAqC;IAErC,UAAU,UAAS;IAEnB,+EAA+E;IAE/E,WAAW,UAAS;IAEpB,6LAA6L;IAE7L,WAAW,EAAG,QAAQ,CAAC;IAEvB;;OAEG;IAEH,OAAO,EAAG,GAAG,CAAC;IAEL,MAAM;IAuEf,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,YAAY;IAWpB,OAAO,CAAC,eAAe;IAUd,OAAO,CAAC,YAAY,EAAE,GAAG;CASnC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,iBAAiB,EAAE,UAAU,CAAC;KAC/B;CACF"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import{__decorate as e}from"../../../_virtual/_tslib.js";import'./../../../external/@lit/reactive-element/reactive-element.js';import{html as t}from'./../../../external/lit-html/lit-html.js';import{LitElement as o}from'./../../../external/lit-element/lit-element.js';import{customElement as s}from'./../../../external/@lit/reactive-element/decorators/custom-element.js';import{property as i}from'./../../../external/@lit/reactive-element/decorators/property.js';import{query as l}from'./../../../external/@lit/reactive-element/decorators/query.js';import'./../../../external/@lit/reactive-element/decorators/query-assigned-elements.js';import{classMap as r}from'./../../../external/lit-html/directives/class-map.js';import a from"./sideDrawer.scss.js";import"@kyndryl-design-system/shidoka-foundation/components/button";import"@kyndryl-design-system/shidoka-foundation/components/icon";import n from'./../../../external/@carbon/icons/es/close/32.js';import{css as d}from'./../../../external/@lit/reactive-element/css-tag.js';let c=class extends o{constructor(){super(...arguments),this.open=!1,this.size="md",this.titleText="",this.labelText="",this.submitBtnText="Ok",this.cancelBtnText="Cancel",this.submitBtnDisabled=!1,this.hideFooter=!1,this.destructive=!1}render(){const e={modal:!0,dialog:!0,"size--md":"md"===this.size,"size--sm":"sm"===this.size};return t`
|
|
2
|
+
<button class="anchor" @click=${this._openDrawer}>
|
|
3
|
+
<slot name="anchor"></slot>
|
|
4
|
+
</button>
|
|
5
|
+
|
|
6
|
+
<dialog
|
|
7
|
+
class="${r(e)}"
|
|
8
|
+
autofocus
|
|
9
|
+
aria-labelledby="dialogLabel"
|
|
10
|
+
@cancel=${e=>this._closeDrawer(e,"cancel")}
|
|
11
|
+
>
|
|
12
|
+
<div class="drawer-content-wrapper">
|
|
13
|
+
<!-- Header -->
|
|
14
|
+
<header>
|
|
15
|
+
<div class="header-label-title">
|
|
16
|
+
${""!==this.labelText?t`<span class="label">${this.labelText}</span>`:null}
|
|
17
|
+
<h1 id="dialogLabel">${this.titleText}</h1>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="close-wrapper">
|
|
20
|
+
<button
|
|
21
|
+
class="close"
|
|
22
|
+
@click=${e=>this._closeDrawer(e,"cancel")}
|
|
23
|
+
>
|
|
24
|
+
<kd-icon .icon=${n}></kd-icon>
|
|
25
|
+
</button>
|
|
26
|
+
</div>
|
|
27
|
+
</header>
|
|
28
|
+
<!-- Body -->
|
|
29
|
+
<div>
|
|
30
|
+
<slot></slot>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
<!-- footer -->
|
|
34
|
+
${this.hideFooter?null:t`
|
|
35
|
+
<div class="dialog-footer">
|
|
36
|
+
<div class="actions">
|
|
37
|
+
<kd-button
|
|
38
|
+
value="Ok"
|
|
39
|
+
?disabled=${this.submitBtnDisabled}
|
|
40
|
+
?destructive=${this.destructive}
|
|
41
|
+
@click=${e=>this._closeDrawer(e,"ok")}
|
|
42
|
+
>
|
|
43
|
+
${this.submitBtnText}
|
|
44
|
+
</kd-button>
|
|
45
|
+
|
|
46
|
+
<kd-button
|
|
47
|
+
value="Cancel"
|
|
48
|
+
kind="secondary"
|
|
49
|
+
@click=${e=>this._closeDrawer(e,"cancel")}
|
|
50
|
+
>
|
|
51
|
+
${this.cancelBtnText}
|
|
52
|
+
</kd-button>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
`}
|
|
56
|
+
</dialog>
|
|
57
|
+
`}_openDrawer(){this.open=!0}_closeDrawer(e,t){(!this.beforeClose||this.beforeClose&&this.beforeClose(t))&&(this.open=!1,this._dialog.returnValue=t,this._emitCloseEvent(e))}_emitCloseEvent(e){const t=new CustomEvent("on-close",{detail:{returnValue:this._dialog.returnValue,origEvent:e}});this.dispatchEvent(t)}updated(e){e.has("open")&&(this.open?this._dialog.showModal():this._dialog.close())}};c.styles=[a,d`
|
|
58
|
+
@supports (transition-behavior: allow-discrete) {
|
|
59
|
+
@starting-style {
|
|
60
|
+
dialog[open] {
|
|
61
|
+
right: -100%;
|
|
62
|
+
transform: translateX(100%);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@starting-style {
|
|
67
|
+
dialog[open]::backdrop {
|
|
68
|
+
background-color: rgb(0, 0, 0, 0);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
`],e([i({type:Boolean})],c.prototype,"open",void 0),e([i({type:String})],c.prototype,"size",void 0),e([i({type:String})],c.prototype,"titleText",void 0),e([i({type:String})],c.prototype,"labelText",void 0),e([i({type:String})],c.prototype,"submitBtnText",void 0),e([i({type:String})],c.prototype,"cancelBtnText",void 0),e([i({type:Boolean})],c.prototype,"submitBtnDisabled",void 0),e([i({type:Boolean})],c.prototype,"hideFooter",void 0),e([i({type:Boolean})],c.prototype,"destructive",void 0),e([i({attribute:!1})],c.prototype,"beforeClose",void 0),e([l("dialog")],c.prototype,"_dialog",void 0),c=e([s("kyn-side-drawer")],c);export{c as SideDrawer};
|
|
73
|
+
//# sourceMappingURL=sideDrawer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sideDrawer.js","sources":["../../../../src/components/reusable/sideDrawer/sideDrawer.ts"],"sourcesContent":["import { LitElement, html, css } from 'lit';\nimport { customElement, property, query } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport SideDrawerScss from './sideDrawer.scss';\n\nimport '@kyndryl-design-system/shidoka-foundation/components/button';\nimport '@kyndryl-design-system/shidoka-foundation/components/icon';\nimport closeIcon from '@carbon/icons/es/close/32';\n\n/**\n * Side Drawer.\n * @slot unnamed - Slot for drawer body content.\n * @slot anchor - Slot for the anchor button content.\n * @fires on-close - Emits the drawer close event with `returnValue` (`'ok'` or `'cancel'`).\n */\n\n@customElement('kyn-side-drawer')\nexport class SideDrawer extends LitElement {\n static override styles = [\n SideDrawerScss,\n css`\n @supports (transition-behavior: allow-discrete) {\n @starting-style {\n dialog[open] {\n right: -100%;\n transform: translateX(100%);\n }\n }\n\n @starting-style {\n dialog[open]::backdrop {\n background-color: rgb(0, 0, 0, 0);\n }\n }\n }\n `,\n ];\n\n /**\n * Drawer open state.\n */\n @property({ type: Boolean })\n open = false;\n\n /**\n * Drawer size. `'md'`, or `'sm'`.\n */\n @property({ type: String })\n size = 'md';\n\n /**\n * Title / Heading text, required.\n */\n @property({ type: String })\n titleText = '';\n\n /**\n * Label text, optional.\n */\n @property({ type: String })\n labelText = '';\n\n /**\n * Submit button text.\n */\n @property({ type: String })\n submitBtnText = 'Ok';\n\n /**\n * Cancel button text.\n */\n @property({ type: String })\n cancelBtnText = 'Cancel';\n\n /** Disables the primary button. */\n @property({ type: Boolean })\n submitBtnDisabled = false;\n\n /** Determine whether needs footer */\n @property({ type: Boolean })\n hideFooter = false;\n\n /** Changes the primary button styles to indicate the action is destructive. */\n @property({ type: Boolean })\n destructive = false;\n\n /** Function to execute before the Drawer can close. Useful for running checks or validations before closing. Exposes `returnValue` (`'ok'` or `'cancel'`). Must return `true` or `false`. */\n @property({ attribute: false })\n beforeClose!: Function;\n\n /** The dialog element\n * @internal\n */\n @query('dialog')\n _dialog!: any;\n\n override render() {\n const classes = {\n modal: true,\n dialog: true,\n 'size--md': this.size === 'md',\n 'size--sm': this.size === 'sm',\n };\n\n return html`\n <button class=\"anchor\" @click=${this._openDrawer}>\n <slot name=\"anchor\"></slot>\n </button>\n\n <dialog\n class=\"${classMap(classes)}\"\n autofocus\n aria-labelledby=\"dialogLabel\"\n @cancel=${(e: Event) => this._closeDrawer(e, 'cancel')}\n >\n <div class=\"drawer-content-wrapper\">\n <!-- Header -->\n <header>\n <div class=\"header-label-title\">\n ${this.labelText !== ''\n ? html`<span class=\"label\">${this.labelText}</span>`\n : null}\n <h1 id=\"dialogLabel\">${this.titleText}</h1>\n </div>\n <div class=\"close-wrapper\">\n <button\n class=\"close\"\n @click=${(e: Event) => this._closeDrawer(e, 'cancel')}\n >\n <kd-icon .icon=${closeIcon}></kd-icon>\n </button>\n </div>\n </header>\n <!-- Body -->\n <div>\n <slot></slot>\n </div>\n </div>\n <!-- footer -->\n ${!this.hideFooter\n ? html`\n <div class=\"dialog-footer\">\n <div class=\"actions\">\n <kd-button\n value=\"Ok\"\n ?disabled=${this.submitBtnDisabled}\n ?destructive=${this.destructive}\n @click=${(e: Event) => this._closeDrawer(e, 'ok')}\n >\n ${this.submitBtnText}\n </kd-button>\n\n <kd-button\n value=\"Cancel\"\n kind=\"secondary\"\n @click=${(e: Event) => this._closeDrawer(e, 'cancel')}\n >\n ${this.cancelBtnText}\n </kd-button>\n </div>\n </div>\n `\n : null}\n </dialog>\n `;\n }\n\n private _openDrawer() {\n this.open = true;\n }\n\n private _closeDrawer(e: Event, returnValue: string) {\n if (\n !this.beforeClose ||\n (this.beforeClose && this.beforeClose(returnValue))\n ) {\n this.open = false;\n this._dialog.returnValue = returnValue;\n this._emitCloseEvent(e);\n }\n }\n\n private _emitCloseEvent(e: Event) {\n const event = new CustomEvent('on-close', {\n detail: {\n returnValue: this._dialog.returnValue,\n origEvent: e,\n },\n });\n this.dispatchEvent(event);\n }\n\n override updated(changedProps: any) {\n if (changedProps.has('open')) {\n if (this.open) {\n this._dialog.showModal();\n } else {\n this._dialog.close();\n }\n }\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'kyn-side-drawer': SideDrawer;\n }\n}\n"],"names":["SideDrawer","LitElement","constructor","this","open","size","titleText","labelText","submitBtnText","cancelBtnText","submitBtnDisabled","hideFooter","destructive","render","classes","modal","dialog","html","_openDrawer","classMap","e","_closeDrawer","closeIcon","returnValue","beforeClose","_dialog","_emitCloseEvent","event","CustomEvent","detail","origEvent","dispatchEvent","updated","changedProps","has","showModal","close","styles","SideDrawerScss","css","__decorate","property","type","Boolean","prototype","String","attribute","query","customElement"],"mappings":"qhCAiBO,IAAMA,EAAN,cAAyBC,EAAzBC,kCAyBLC,KAAIC,MAAG,EAMPD,KAAIE,KAAG,KAMPF,KAASG,UAAG,GAMZH,KAASI,UAAG,GAMZJ,KAAaK,cAAG,KAMhBL,KAAaM,cAAG,SAIhBN,KAAiBO,mBAAG,EAIpBP,KAAUQ,YAAG,EAIbR,KAAWS,aAAG,CAqHf,CAzGUC,SACP,MAAMC,EAAU,CACdC,OAAO,EACPC,QAAQ,EACR,WAA0B,OAAdb,KAAKE,KACjB,WAA0B,OAAdF,KAAKE,MAGnB,OAAOY,CAAI;sCACuBd,KAAKe;;;;;iBAK1BC,EAASL;;;kBAGPM,GAAajB,KAAKkB,aAAaD,EAAG;;;;;;gBAMlB,KAAnBjB,KAAKI,UACHU,CAAI,uBAAuBd,KAAKI,mBAChC;qCACmBJ,KAAKG;;;;;yBAKhBc,GAAajB,KAAKkB,aAAaD,EAAG;;iCAE3BE;;;;;;;;;;UAUtBnB,KAAKQ,WAuBJ,KAtBAM,CAAI;;;;;gCAKgBd,KAAKO;mCACFP,KAAKS;6BACVQ,GAAajB,KAAKkB,aAAaD,EAAG;;sBAE1CjB,KAAKK;;;;;;6BAMGY,GAAajB,KAAKkB,aAAaD,EAAG;;sBAE1CjB,KAAKM;;;;;;KAQxB,CAEOS,cACNf,KAAKC,MAAO,CACb,CAEOiB,aAAaD,EAAUG,KAE1BpB,KAAKqB,aACLrB,KAAKqB,aAAerB,KAAKqB,YAAYD,MAEtCpB,KAAKC,MAAO,EACZD,KAAKsB,QAAQF,YAAcA,EAC3BpB,KAAKuB,gBAAgBN,GAExB,CAEOM,gBAAgBN,GACtB,MAAMO,EAAQ,IAAIC,YAAY,WAAY,CACxCC,OAAQ,CACNN,YAAapB,KAAKsB,QAAQF,YAC1BO,UAAWV,KAGfjB,KAAK4B,cAAcJ,EACpB,CAEQK,QAAQC,GACXA,EAAaC,IAAI,UACf/B,KAAKC,KACPD,KAAKsB,QAAQU,YAEbhC,KAAKsB,QAAQW,QAGlB,GAtLepC,EAAAqC,OAAS,CACvBC,EACAC,CAAG;;;;;;;;;;;;;;;OAsBLC,EAAA,CADCC,EAAS,CAAEC,KAAMC,WACL3C,EAAA4C,UAAA,YAAA,GAMbJ,EAAA,CADCC,EAAS,CAAEC,KAAMG,UACN7C,EAAA4C,UAAA,YAAA,GAMZJ,EAAA,CADCC,EAAS,CAAEC,KAAMG,UACH7C,EAAA4C,UAAA,iBAAA,GAMfJ,EAAA,CADCC,EAAS,CAAEC,KAAMG,UACH7C,EAAA4C,UAAA,iBAAA,GAMfJ,EAAA,CADCC,EAAS,CAAEC,KAAMG,UACG7C,EAAA4C,UAAA,qBAAA,GAMrBJ,EAAA,CADCC,EAAS,CAAEC,KAAMG,UACO7C,EAAA4C,UAAA,qBAAA,GAIzBJ,EAAA,CADCC,EAAS,CAAEC,KAAMC,WACQ3C,EAAA4C,UAAA,yBAAA,GAI1BJ,EAAA,CADCC,EAAS,CAAEC,KAAMC,WACC3C,EAAA4C,UAAA,kBAAA,GAInBJ,EAAA,CADCC,EAAS,CAAEC,KAAMC,WACE3C,EAAA4C,UAAA,mBAAA,GAIpBJ,EAAA,CADCC,EAAS,CAAEK,WAAW,KACA9C,EAAA4C,UAAA,mBAAA,GAMvBJ,EAAA,CADCO,EAAM,WACO/C,EAAA4C,UAAA,eAAA,GA7EH5C,EAAUwC,EAAA,CADtBQ,EAAc,oBACFhD"}
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import'./../../../external/@lit/reactive-element/reactive-element.js';import'./../../../external/lit-html/lit-html.js';import'./../../../external/lit-element/lit-element.js';import{css as i}from'./../../../external/@lit/reactive-element/css-tag.js';var e=i`*,
|
|
2
|
+
*::before,
|
|
3
|
+
*::after {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:root {
|
|
8
|
+
--kd-current-breakpoint: sm;
|
|
9
|
+
}
|
|
10
|
+
@media (min-width: 42rem) {
|
|
11
|
+
:root {
|
|
12
|
+
--kd-current-breakpoint: md;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@media (min-width: 74rem) {
|
|
16
|
+
:root {
|
|
17
|
+
--kd-current-breakpoint: lg;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
@media (min-width: 82rem) {
|
|
21
|
+
:root {
|
|
22
|
+
--kd-current-breakpoint: xl;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
@media (min-width: 99rem) {
|
|
26
|
+
:root {
|
|
27
|
+
--kd-current-breakpoint: max;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
:host {
|
|
32
|
+
display: inline-block;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
dialog {
|
|
36
|
+
padding: 0;
|
|
37
|
+
color: inherit;
|
|
38
|
+
background: var(--kd-color-background-ui-default);
|
|
39
|
+
border: 1px solid var(--kd-color-border-light);
|
|
40
|
+
box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.12);
|
|
41
|
+
right: 0;
|
|
42
|
+
min-height: 100%;
|
|
43
|
+
left: auto;
|
|
44
|
+
margin: 0;
|
|
45
|
+
}
|
|
46
|
+
dialog[open] {
|
|
47
|
+
animation: dialog-in 400ms forwards;
|
|
48
|
+
}
|
|
49
|
+
dialog::backdrop {
|
|
50
|
+
background: rgba(60, 61, 60, 0.4);
|
|
51
|
+
}
|
|
52
|
+
dialog.size--sm {
|
|
53
|
+
width: 384px;
|
|
54
|
+
}
|
|
55
|
+
dialog.size--md {
|
|
56
|
+
width: 800px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.drawer-content-wrapper {
|
|
60
|
+
position: relative;
|
|
61
|
+
padding: 0 32px 32px 32px;
|
|
62
|
+
height: 100vh;
|
|
63
|
+
margin-bottom: 10px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
button {
|
|
67
|
+
appearance: none;
|
|
68
|
+
background: none;
|
|
69
|
+
border: none;
|
|
70
|
+
color: inherit;
|
|
71
|
+
cursor: pointer;
|
|
72
|
+
font: inherit;
|
|
73
|
+
padding: 0;
|
|
74
|
+
border-radius: 4px;
|
|
75
|
+
outline: 2px solid transparent;
|
|
76
|
+
transition: outline-color 150ms ease-out, color 150ms ease-out;
|
|
77
|
+
}
|
|
78
|
+
button:focus {
|
|
79
|
+
outline-color: var(--kd-color-border-focus);
|
|
80
|
+
}
|
|
81
|
+
button:hover {
|
|
82
|
+
color: var(--kd-color-text-link-hover);
|
|
83
|
+
}
|
|
84
|
+
button:active {
|
|
85
|
+
color: var(--kd-color-text-pressed);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.anchor {
|
|
89
|
+
display: inline-block;
|
|
90
|
+
width: 100%;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
header {
|
|
94
|
+
z-index: 90;
|
|
95
|
+
position: sticky;
|
|
96
|
+
top: 0;
|
|
97
|
+
background-color: #ffffff;
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-direction: row;
|
|
100
|
+
width: 100%;
|
|
101
|
+
justify-content: space-between;
|
|
102
|
+
padding-top: 32px;
|
|
103
|
+
padding-bottom: 16px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.header-label-title {
|
|
107
|
+
display: flex;
|
|
108
|
+
flex-direction: column;
|
|
109
|
+
margin-right: 10px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.close kd-icon {
|
|
113
|
+
display: block;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.close-wrapper {
|
|
117
|
+
align-items: center;
|
|
118
|
+
display: flex;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.label {
|
|
122
|
+
font-family: var(--kd-font-family-secondary);
|
|
123
|
+
font-size: var(--kd-font-size-utility-3-sm);
|
|
124
|
+
line-height: var(--kd-line-height-utility-3-sm);
|
|
125
|
+
font-weight: var(--kd-font-weight-regular);
|
|
126
|
+
letter-spacing: var(--kd-letter-spacing-5);
|
|
127
|
+
color: var(--kd-color-text-placeholder);
|
|
128
|
+
}
|
|
129
|
+
@media (min-width: 42rem) {
|
|
130
|
+
.label {
|
|
131
|
+
font-size: var(--kd-font-size-utility-3-md);
|
|
132
|
+
line-height: var(--kd-line-height-utility-3-md);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
@media (min-width: 74rem) {
|
|
136
|
+
.label {
|
|
137
|
+
font-size: var(--kd-font-size-utility-3-lg);
|
|
138
|
+
line-height: var(--kd-line-height-utility-3-lg);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
@media (min-width: 82rem) {
|
|
142
|
+
.label {
|
|
143
|
+
font-size: var(--kd-font-size-utility-3-xlg);
|
|
144
|
+
line-height: var(--kd-line-height-utility-3-xlg);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
@media (min-width: 99rem) {
|
|
148
|
+
.label {
|
|
149
|
+
font-size: var(--kd-font-size-utility-3-max);
|
|
150
|
+
line-height: var(--kd-line-height-utility-3-max);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
h1 {
|
|
155
|
+
font-family: var(--kd-font-family-primary);
|
|
156
|
+
font-size: var(--kd-font-size-body-1-sm);
|
|
157
|
+
line-height: var(--kd-line-height-body-1-sm);
|
|
158
|
+
font-weight: var(--kd-font-weight-regular);
|
|
159
|
+
letter-spacing: var(--kd-letter-spacing-4);
|
|
160
|
+
margin: 0;
|
|
161
|
+
order: 1;
|
|
162
|
+
}
|
|
163
|
+
@media (min-width: 42rem) {
|
|
164
|
+
h1 {
|
|
165
|
+
font-size: var(--kd-font-size-body-1-md);
|
|
166
|
+
line-height: var(--kd-line-height-body-1-md);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
@media (min-width: 74rem) {
|
|
170
|
+
h1 {
|
|
171
|
+
font-size: var(--kd-font-size-body-1-lg);
|
|
172
|
+
line-height: var(--kd-line-height-body-1-lg);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
@media (min-width: 82rem) {
|
|
176
|
+
h1 {
|
|
177
|
+
font-size: var(--kd-font-size-body-1-xlg);
|
|
178
|
+
line-height: var(--kd-line-height-body-1-xlg);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
@media (min-width: 99rem) {
|
|
182
|
+
h1 {
|
|
183
|
+
font-size: var(--kd-font-size-body-1-max);
|
|
184
|
+
line-height: var(--kd-line-height-body-1-max);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.dialog-footer {
|
|
189
|
+
position: sticky;
|
|
190
|
+
bottom: 0px;
|
|
191
|
+
width: 100%;
|
|
192
|
+
background-color: var(--kd-color-background-accent-subtle);
|
|
193
|
+
padding: 24px 32px 24px 32px;
|
|
194
|
+
border-top: 1px solid var(--kd-color-border-light);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.actions {
|
|
198
|
+
display: flex;
|
|
199
|
+
align-items: center;
|
|
200
|
+
flex-wrap: wrap;
|
|
201
|
+
gap: 16px;
|
|
202
|
+
}
|
|
203
|
+
@media (max-width: 42rem) {
|
|
204
|
+
.actions kd-button {
|
|
205
|
+
width: 100%;
|
|
206
|
+
flex-grow: 1;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.custom-actions {
|
|
211
|
+
margin-left: auto;
|
|
212
|
+
display: flex;
|
|
213
|
+
align-items: center;
|
|
214
|
+
gap: 16px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
@supports (transition-behavior: allow-discrete) {
|
|
218
|
+
dialog {
|
|
219
|
+
transition: right 400ms ease, transform 400ms ease, overlay 400ms ease allow-discrete, display 400ms ease allow-discrete;
|
|
220
|
+
right: -100%;
|
|
221
|
+
transform: translateX(100%);
|
|
222
|
+
}
|
|
223
|
+
dialog::backdrop {
|
|
224
|
+
background-color: rgba(0, 0, 0, 0);
|
|
225
|
+
transition: display 400ms allow-discrete, overlay 400ms allow-discrete, background-color 400ms;
|
|
226
|
+
}
|
|
227
|
+
dialog[open] {
|
|
228
|
+
animation: none;
|
|
229
|
+
right: 0;
|
|
230
|
+
transform: translateX(0);
|
|
231
|
+
}
|
|
232
|
+
dialog[open]::backdrop {
|
|
233
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
@keyframes dialog-in {
|
|
237
|
+
0% {
|
|
238
|
+
right: -100%;
|
|
239
|
+
transform: translateX(100%);
|
|
240
|
+
}
|
|
241
|
+
50% {
|
|
242
|
+
right: -50%;
|
|
243
|
+
transform: translateX(50%);
|
|
244
|
+
}
|
|
245
|
+
100% {
|
|
246
|
+
right: 0;
|
|
247
|
+
transform: translateX(0);
|
|
248
|
+
}
|
|
249
|
+
}`;export{e as default};
|
|
250
|
+
//# sourceMappingURL=sideDrawer.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sideDrawer.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/index.d.ts
CHANGED
|
@@ -21,4 +21,5 @@ export { Modal } from './components/reusable/modal';
|
|
|
21
21
|
export { Tooltip } from './components/reusable/tooltip';
|
|
22
22
|
export { Tag, TagGroup } from './components/reusable/tag';
|
|
23
23
|
export { GlobalFilter } from './components/reusable/globalFilter';
|
|
24
|
+
export { SideDrawer } from './components/reusable/sideDrawer';
|
|
24
25
|
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,SAAS,EACT,UAAU,EACV,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,eAAe,GAChB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EACL,WAAW,EACX,gBAAgB,GACjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EACL,YAAY,EACZ,gBAAgB,GACjB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,SAAS,EACT,UAAU,EACV,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,eAAe,GAChB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EACL,WAAW,EACX,gBAAgB,GACjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,EACL,YAAY,EACZ,gBAAgB,GACjB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC"}
|
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{Header}from"./components/global/header/header.js";export{HeaderNav}from"./components/global/header/headerNav.js";export{HeaderLink}from"./components/global/header/headerLink.js";export{HeaderFlyouts}from"./components/global/header/headerFlyouts.js";export{HeaderFlyout}from"./components/global/header/headerFlyout.js";export{HeaderAvatar}from"./components/global/header/headerAvatar.js";export{HeaderPanel}from"./components/global/header/headerPanel.js";export{HeaderPanelLink}from"./components/global/header/headerPanelLink.js";export{LocalNav}from"./components/global/localNav/localNav.js";export{LocalNavLink}from"./components/global/localNav/localNavLink.js";export{Footer}from"./components/global/footer/footer.js";export{FooterNav}from"./components/global/footer/footerNav.js";export{FooterNavLink}from"./components/global/footer/footerLink.js";export{UiShell}from"./components/global/uiShell/uiShell.js";export{RadioButton}from"./components/reusable/radioButton/radioButton.js";export{RadioButtonGroup}from"./components/reusable/radioButton/radioButtonGroup.js";export{Checkbox}from"./components/reusable/checkbox/checkbox.js";export{CheckboxGroup}from"./components/reusable/checkbox/checkboxGroup.js";export{TextInput}from"./components/reusable/textInput/textInput.js";export{TextArea}from"./components/reusable/textArea/textArea.js";export{ToggleButton}from"./components/reusable/toggleButton/toggleButton.js";export{TimePicker}from"./components/reusable/timepicker/timepicker.js";export{Dropdown}from"./components/reusable/dropdown/dropdown.js";export{DropdownOption}from"./components/reusable/dropdown/dropdownOption.js";export{DatePicker}from"./components/reusable/datePicker/datepicker.js";export{DateRangePicker}from"./components/reusable/daterangepicker/daterangepicker.js";export{BreadcrumbItem}from"./components/reusable/breadcrumbs/breadcrumbItem.js";export{Breadcrumbs}from"./components/reusable/breadcrumbs/breadcrumbs.js";export{Table}from"./components/reusable/table/Table.js";import"./components/reusable/table/table-cell.js";import"./components/reusable/table/table-row.js";import"./components/reusable/table/table-body.js";import"./components/reusable/table/table-head.js";import"./components/reusable/table/table-header.js";import"./components/reusable/table/table-footer.js";import"./components/reusable/table/table-toolbar.js";import"./components/reusable/table/table-container.js";export{Pagination}from"./components/reusable/pagination/Pagination.js";import"./components/reusable/pagination/pagination-items-range.js";import"./components/reusable/pagination/pagination-page-size-dropdown.js";import"./components/reusable/pagination/pagination-navigation-buttons.js";export{DataTable}from"./components/reusable/table/data-table.js";export{OverflowMenu}from"./components/reusable/overflowMenu/overflowMenu.js";export{OverflowMenuItem}from"./components/reusable/overflowMenu/overflowMenuItem.js";export{Tabs}from"./components/reusable/tabs/tabs.js";export{Tab}from"./components/reusable/tabs/tab.js";export{TabPanel}from"./components/reusable/tabs/tabPanel.js";export{Modal}from"./components/reusable/modal/modal.js";export{Tooltip}from"./components/reusable/tooltip/tooltip.js";export{Tag}from"./components/reusable/tag/tag.js";export{TagGroup}from"./components/reusable/tag/tagGroup.js";export{GlobalFilter}from"./components/reusable/globalFilter/globalFilter.js";
|
|
1
|
+
export{Header}from"./components/global/header/header.js";export{HeaderNav}from"./components/global/header/headerNav.js";export{HeaderLink}from"./components/global/header/headerLink.js";export{HeaderFlyouts}from"./components/global/header/headerFlyouts.js";export{HeaderFlyout}from"./components/global/header/headerFlyout.js";export{HeaderAvatar}from"./components/global/header/headerAvatar.js";export{HeaderPanel}from"./components/global/header/headerPanel.js";export{HeaderPanelLink}from"./components/global/header/headerPanelLink.js";export{LocalNav}from"./components/global/localNav/localNav.js";export{LocalNavLink}from"./components/global/localNav/localNavLink.js";export{Footer}from"./components/global/footer/footer.js";export{FooterNav}from"./components/global/footer/footerNav.js";export{FooterNavLink}from"./components/global/footer/footerLink.js";export{UiShell}from"./components/global/uiShell/uiShell.js";export{RadioButton}from"./components/reusable/radioButton/radioButton.js";export{RadioButtonGroup}from"./components/reusable/radioButton/radioButtonGroup.js";export{Checkbox}from"./components/reusable/checkbox/checkbox.js";export{CheckboxGroup}from"./components/reusable/checkbox/checkboxGroup.js";export{TextInput}from"./components/reusable/textInput/textInput.js";export{TextArea}from"./components/reusable/textArea/textArea.js";export{ToggleButton}from"./components/reusable/toggleButton/toggleButton.js";export{TimePicker}from"./components/reusable/timepicker/timepicker.js";export{Dropdown}from"./components/reusable/dropdown/dropdown.js";export{DropdownOption}from"./components/reusable/dropdown/dropdownOption.js";export{DatePicker}from"./components/reusable/datePicker/datepicker.js";export{DateRangePicker}from"./components/reusable/daterangepicker/daterangepicker.js";export{BreadcrumbItem}from"./components/reusable/breadcrumbs/breadcrumbItem.js";export{Breadcrumbs}from"./components/reusable/breadcrumbs/breadcrumbs.js";export{Table}from"./components/reusable/table/Table.js";import"./components/reusable/table/table-cell.js";import"./components/reusable/table/table-row.js";import"./components/reusable/table/table-body.js";import"./components/reusable/table/table-head.js";import"./components/reusable/table/table-header.js";import"./components/reusable/table/table-footer.js";import"./components/reusable/table/table-toolbar.js";import"./components/reusable/table/table-container.js";export{Pagination}from"./components/reusable/pagination/Pagination.js";import"./components/reusable/pagination/pagination-items-range.js";import"./components/reusable/pagination/pagination-page-size-dropdown.js";import"./components/reusable/pagination/pagination-navigation-buttons.js";export{DataTable}from"./components/reusable/table/data-table.js";export{OverflowMenu}from"./components/reusable/overflowMenu/overflowMenu.js";export{OverflowMenuItem}from"./components/reusable/overflowMenu/overflowMenuItem.js";export{Tabs}from"./components/reusable/tabs/tabs.js";export{Tab}from"./components/reusable/tabs/tab.js";export{TabPanel}from"./components/reusable/tabs/tabPanel.js";export{Modal}from"./components/reusable/modal/modal.js";export{Tooltip}from"./components/reusable/tooltip/tooltip.js";export{Tag}from"./components/reusable/tag/tag.js";export{TagGroup}from"./components/reusable/tag/tagGroup.js";export{GlobalFilter}from"./components/reusable/globalFilter/globalFilter.js";export{SideDrawer}from"./components/reusable/sideDrawer/sideDrawer.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|