@logosphere-ui/core 0.0.0-alpha.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/README.md +759 -0
  2. package/dist/atoms/Badge/badge.d.ts +21 -0
  3. package/dist/atoms/Badge/index.d.ts +2 -0
  4. package/dist/atoms/Button/button.d.ts +11 -0
  5. package/dist/atoms/Button/index.d.ts +1 -0
  6. package/dist/atoms/Checkbox/checkbox.d.ts +20 -0
  7. package/dist/atoms/Checkbox/index.d.ts +1 -0
  8. package/dist/atoms/FormField/formfield.d.ts +30 -0
  9. package/dist/atoms/FormField/index.d.ts +2 -0
  10. package/dist/atoms/Switch/index.d.ts +1 -0
  11. package/dist/atoms/Switch/switch.d.ts +10 -0
  12. package/dist/badge-CHWTCGQG.js +72 -0
  13. package/dist/badge-DVvdodRb.cjs +13 -0
  14. package/dist/badge.cjs +1 -0
  15. package/dist/badge.js +4 -0
  16. package/dist/breadcrumb-BB61Xt0s.js +41 -0
  17. package/dist/breadcrumb-Cop-B1J7.cjs +12 -0
  18. package/dist/breadcrumb.cjs +1 -0
  19. package/dist/breadcrumb.js +4 -0
  20. package/dist/button-BqOMevro.js +58 -0
  21. package/dist/button-CDRccsk9.cjs +10 -0
  22. package/dist/button.cjs +1 -0
  23. package/dist/button.js +4 -0
  24. package/dist/card-CNoTUaJC.js +98 -0
  25. package/dist/card-KiNHfEi2.cjs +43 -0
  26. package/dist/card.cjs +1 -0
  27. package/dist/card.js +4 -0
  28. package/dist/chatbot-BNGCxSf9.js +485 -0
  29. package/dist/chatbot-P32-Xv7e.cjs +160 -0
  30. package/dist/chatbot.cjs +1 -0
  31. package/dist/chatbot.js +4 -0
  32. package/dist/checkbox-CdDTRdKV.cjs +37 -0
  33. package/dist/checkbox-g6kl2jGR.js +119 -0
  34. package/dist/checkbox.cjs +1 -0
  35. package/dist/checkbox.js +4 -0
  36. package/dist/combobox-CeK7yW2F.cjs +99 -0
  37. package/dist/combobox-DTUSFw9V.js +270 -0
  38. package/dist/combobox.cjs +1 -0
  39. package/dist/combobox.js +4 -0
  40. package/dist/datepicker-BQOVo1Pr.cjs +115 -0
  41. package/dist/datepicker-ChdQsc_l.js +751 -0
  42. package/dist/datepicker.cjs +1 -0
  43. package/dist/datepicker.js +4 -0
  44. package/dist/download-manager-BSIMTGaK.cjs +97 -0
  45. package/dist/download-manager-a541AYhr.js +381 -0
  46. package/dist/download-manager.cjs +1 -0
  47. package/dist/download-manager.js +4 -0
  48. package/dist/formfield-BOgRugzm.js +118 -0
  49. package/dist/formfield-D_7NFFoe.cjs +27 -0
  50. package/dist/formfield.cjs +1 -0
  51. package/dist/formfield.js +4 -0
  52. package/dist/index.cjs +1 -0
  53. package/dist/index.d.ts +16 -0
  54. package/dist/index.js +34 -0
  55. package/dist/index.umd.js +840 -0
  56. package/dist/input-CoY1ZcPF.cjs +46 -0
  57. package/dist/input-CxBP0i-3.js +194 -0
  58. package/dist/input.cjs +1 -0
  59. package/dist/input.js +4 -0
  60. package/dist/modal-CnwRIdd8.js +110 -0
  61. package/dist/modal-DQ8VFL-P.cjs +39 -0
  62. package/dist/modal.cjs +1 -0
  63. package/dist/modal.js +4 -0
  64. package/dist/molecules/Breadcrumb/breadcrumb.d.ts +10 -0
  65. package/dist/molecules/Breadcrumb/index.d.ts +1 -0
  66. package/dist/molecules/Card/card.d.ts +16 -0
  67. package/dist/molecules/Card/index.d.ts +1 -0
  68. package/dist/molecules/Input/index.d.ts +2 -0
  69. package/dist/molecules/Input/input.d.ts +50 -0
  70. package/dist/molecules/Popover/index.d.ts +1 -0
  71. package/dist/molecules/Popover/popover.d.ts +33 -0
  72. package/dist/molecules/Textarea/index.d.ts +1 -0
  73. package/dist/molecules/Textarea/text-area.d.ts +49 -0
  74. package/dist/organisms/Chatbot/chatbot.d.ts +79 -0
  75. package/dist/organisms/Chatbot/index.d.ts +1 -0
  76. package/dist/organisms/Combobox/combobox.d.ts +49 -0
  77. package/dist/organisms/Combobox/index.d.ts +1 -0
  78. package/dist/organisms/DatePicker/datepicker.d.ts +79 -0
  79. package/dist/organisms/DatePicker/index.d.ts +1 -0
  80. package/dist/organisms/DownloadManager/download-manager.d.ts +52 -0
  81. package/dist/organisms/DownloadManager/index.d.ts +1 -0
  82. package/dist/organisms/Modal/index.d.ts +1 -0
  83. package/dist/organisms/Modal/modal.d.ts +21 -0
  84. package/dist/organisms/Tab/index.d.ts +1 -0
  85. package/dist/organisms/Tab/tab.d.ts +33 -0
  86. package/dist/popover-C2p5Pmts.cjs +30 -0
  87. package/dist/popover-CaVOXo_k.js +140 -0
  88. package/dist/popover.cjs +1 -0
  89. package/dist/popover.js +4 -0
  90. package/dist/shared/icons/icon-map.d.ts +1 -0
  91. package/dist/shared/icons/ui-icon.d.ts +15 -0
  92. package/dist/styles/main.css +247 -0
  93. package/dist/switch-CG4SSjTg.js +64 -0
  94. package/dist/switch-Rnnn10bn.cjs +17 -0
  95. package/dist/switch.cjs +1 -0
  96. package/dist/switch.js +4 -0
  97. package/dist/tab-BYU_XEhp.js +176 -0
  98. package/dist/tab-DcjAlXzU.cjs +40 -0
  99. package/dist/tab.cjs +1 -0
  100. package/dist/tab.js +4 -0
  101. package/dist/text-area-Dw4CUBcz.js +206 -0
  102. package/dist/text-area-eT-oCnqZ.cjs +44 -0
  103. package/dist/textarea.cjs +1 -0
  104. package/dist/textarea.js +4 -0
  105. package/dist/ui-icon-CVEyvL5D.cjs +22 -0
  106. package/dist/ui-icon-ltkJROhR.js +51 -0
  107. package/dist/vite.svg +1 -0
  108. package/package.json +184 -0
@@ -0,0 +1,206 @@
1
+ import { unsafeCSS as d, css as y, LitElement as c, nothing as l, html as u } from "lit";
2
+ import { query as m, property as i, state as _, customElement as v } from "lit/decorators.js";
3
+ import { live as f } from "lit/directives/live.js";
4
+ import "./formfield-BOgRugzm.js";
5
+ import "./ui-icon-ltkJROhR.js";
6
+ const b = ".textarea__field{width:100%;background:transparent;border:none;outline:none;font-size:var(--font-size-sm);font-family:var(--font-family-base);color:var(--color-body-text);box-sizing:border-box;line-height:1.5}.textarea__field::placeholder{color:var(--color-tertiary)}.textarea__field:disabled{cursor:not-allowed}.textarea__field--resize-none{resize:none}.textarea__field--resize-vertical{resize:vertical}.textarea__field--resize-horizontal{resize:horizontal}.textarea__field--resize-both{resize:both}.textarea__field--auto-resize{resize:none;overflow:hidden}.textarea__clear-btn{border:none;background:transparent;color:var(--color-gray-400);cursor:pointer;padding:0;display:inline-flex;align-items:flex-start;align-self:flex-start;margin-top:var(--spacing-1);outline:none;flex-shrink:0;transition:color var(--transition-speed-fast) var(--transition-timing)}.textarea__clear-btn:hover{color:var(--color-gray-600)}";
7
+ var x = Object.defineProperty, g = Object.getOwnPropertyDescriptor, r = (e, a, s, n) => {
8
+ for (var o = n > 1 ? void 0 : n ? g(a, s) : a, h = e.length - 1, p; h >= 0; h--)
9
+ (p = e[h]) && (o = (n ? p(a, s, o) : p(o)) || o);
10
+ return n && o && x(a, s, o), o;
11
+ };
12
+ let t = class extends c {
13
+ constructor() {
14
+ super(...arguments), this.value = "", this.placeholder = "", this.name = "", this.autocomplete = "", this.rows = 3, this.wrap = "soft", this.resize = "vertical", this.autoResize = !1, this.size = "default", this.variant = "default", this.showClear = !1, this.label = "", this.helper = "", this.error = "", this.required = !1, this.disabled = !1, this.readonly = !1, this._internalError = "", this.handleInput = (e) => {
15
+ const a = e.target;
16
+ this.value = a.value, this.autoResize && this.adjustHeight(), this._internalError && (this._internalError = "", this._textareaElement.setCustomValidity("")), this.dispatchEvent(new CustomEvent("input", {
17
+ bubbles: !0,
18
+ composed: !0,
19
+ detail: { value: this.value, originalEvent: e }
20
+ }));
21
+ }, this.handleChange = (e) => {
22
+ const a = e.target;
23
+ this.value = a.value, a.checkValidity() || (this._internalError = a.validationMessage), this.dispatchEvent(new CustomEvent("change", {
24
+ bubbles: !0,
25
+ composed: !0,
26
+ detail: { value: this.value, originalEvent: e }
27
+ }));
28
+ }, this.handleKeyDown = (e) => {
29
+ this.dispatchEvent(new CustomEvent("keydown", {
30
+ bubbles: !0,
31
+ composed: !0,
32
+ detail: { key: e.key, originalEvent: e }
33
+ }));
34
+ }, this.handleKeyUp = (e) => {
35
+ this.dispatchEvent(new CustomEvent("keyup", {
36
+ bubbles: !0,
37
+ composed: !0,
38
+ detail: { key: e.key, originalEvent: e }
39
+ }));
40
+ }, this.handleClear = () => {
41
+ this.value = "", this._textareaElement && (this._textareaElement.value = "", this.autoResize && this.adjustHeight()), this.dispatchEvent(new CustomEvent("clear", { bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent("input", {
42
+ bubbles: !0,
43
+ composed: !0,
44
+ detail: { value: "", originalEvent: null }
45
+ }));
46
+ };
47
+ }
48
+ get textareaElement() {
49
+ return this._textareaElement;
50
+ }
51
+ focus() {
52
+ this._textareaElement?.focus();
53
+ }
54
+ blur() {
55
+ this._textareaElement?.blur();
56
+ }
57
+ select() {
58
+ this._textareaElement?.select();
59
+ }
60
+ setSelectionRange(e, a, s) {
61
+ this._textareaElement?.setSelectionRange(e, a, s);
62
+ }
63
+ checkValidity() {
64
+ return this._textareaElement?.checkValidity() ?? !0;
65
+ }
66
+ reportValidity() {
67
+ return this._textareaElement?.reportValidity() ?? !0;
68
+ }
69
+ setCustomValidity(e) {
70
+ this._textareaElement?.setCustomValidity(e), this._internalError = e, this.requestUpdate();
71
+ }
72
+ adjustHeight() {
73
+ !this.autoResize || !this._textareaElement || (this._textareaElement.style.height = "auto", this._textareaElement.style.height = `${this._textareaElement.scrollHeight}px`);
74
+ }
75
+ updated(e) {
76
+ super.updated(e), e.has("value") && this.autoResize && this.adjustHeight();
77
+ }
78
+ getResizeClass() {
79
+ return this.autoResize ? "textarea__field--auto-resize" : {
80
+ none: "textarea__field--resize-none",
81
+ vertical: "textarea__field--resize-vertical",
82
+ horizontal: "textarea__field--resize-horizontal",
83
+ both: "textarea__field--resize-both"
84
+ }[this.resize];
85
+ }
86
+ render() {
87
+ const e = this.error || this._internalError, a = this.showClear && this.value && !this.disabled && !this.readonly, s = `textarea__field ${this.getResizeClass()}`;
88
+ return u`
89
+ <logosphere-formfield
90
+ .label=${this.label}
91
+ .helper=${this.helper}
92
+ .error=${e}
93
+ .required=${this.required}
94
+ .disabled=${this.disabled}
95
+ .readonly=${this.readonly}
96
+ .placeholder=${this.placeholder}
97
+ .size=${this.size}
98
+ .variant=${this.variant}
99
+ >
100
+ <textarea
101
+ class="${s}"
102
+ .value=${f(this.value)}
103
+ placeholder=${this.placeholder || l}
104
+ name=${this.name || l}
105
+ autocomplete=${this.autocomplete || l}
106
+ ?required=${this.required}
107
+ ?disabled=${this.disabled}
108
+ ?readonly=${this.readonly}
109
+ minlength=${this.minlength ?? l}
110
+ maxlength=${this.maxlength ?? l}
111
+ rows=${this.rows}
112
+ cols=${this.cols ?? l}
113
+ wrap=${this.wrap}
114
+ @input=${this.handleInput}
115
+ @change=${this.handleChange}
116
+ @keydown=${this.handleKeyDown}
117
+ @keyup=${this.handleKeyUp}
118
+ ></textarea>
119
+ ${a ? u`
120
+ <button
121
+ type="button"
122
+ slot="suffix"
123
+ class="textarea__clear-btn"
124
+ @click=${this.handleClear}
125
+ tabindex="-1"
126
+ >
127
+ <ui-icon name="uil-times" size="14"></ui-icon>
128
+ </button>
129
+ ` : l}
130
+ </logosphere-formfield>
131
+ `;
132
+ }
133
+ };
134
+ t.styles = [y`${d(b)}`];
135
+ r([
136
+ m("textarea")
137
+ ], t.prototype, "_textareaElement", 2);
138
+ r([
139
+ i({ type: String })
140
+ ], t.prototype, "value", 2);
141
+ r([
142
+ i({ type: String })
143
+ ], t.prototype, "placeholder", 2);
144
+ r([
145
+ i({ type: String })
146
+ ], t.prototype, "name", 2);
147
+ r([
148
+ i({ type: String })
149
+ ], t.prototype, "autocomplete", 2);
150
+ r([
151
+ i({ type: Number })
152
+ ], t.prototype, "minlength", 2);
153
+ r([
154
+ i({ type: Number })
155
+ ], t.prototype, "maxlength", 2);
156
+ r([
157
+ i({ type: Number })
158
+ ], t.prototype, "rows", 2);
159
+ r([
160
+ i({ type: Number })
161
+ ], t.prototype, "cols", 2);
162
+ r([
163
+ i({ type: String })
164
+ ], t.prototype, "wrap", 2);
165
+ r([
166
+ i({ type: String })
167
+ ], t.prototype, "resize", 2);
168
+ r([
169
+ i({ type: Boolean })
170
+ ], t.prototype, "autoResize", 2);
171
+ r([
172
+ i({ type: String })
173
+ ], t.prototype, "size", 2);
174
+ r([
175
+ i({ type: String })
176
+ ], t.prototype, "variant", 2);
177
+ r([
178
+ i({ type: Boolean })
179
+ ], t.prototype, "showClear", 2);
180
+ r([
181
+ i({ type: String })
182
+ ], t.prototype, "label", 2);
183
+ r([
184
+ i({ type: String })
185
+ ], t.prototype, "helper", 2);
186
+ r([
187
+ i({ type: String })
188
+ ], t.prototype, "error", 2);
189
+ r([
190
+ i({ type: Boolean })
191
+ ], t.prototype, "required", 2);
192
+ r([
193
+ i({ type: Boolean })
194
+ ], t.prototype, "disabled", 2);
195
+ r([
196
+ i({ type: Boolean })
197
+ ], t.prototype, "readonly", 2);
198
+ r([
199
+ _()
200
+ ], t.prototype, "_internalError", 2);
201
+ t = r([
202
+ v("logosphere-textarea")
203
+ ], t);
204
+ export {
205
+ t as T
206
+ };
@@ -0,0 +1,44 @@
1
+ "use strict";const i=require("lit"),t=require("lit/decorators.js"),p=require("lit/directives/live.js");require("./formfield-D_7NFFoe.cjs");require("./ui-icon-CVEyvL5D.cjs");const u=".textarea__field{width:100%;background:transparent;border:none;outline:none;font-size:var(--font-size-sm);font-family:var(--font-family-base);color:var(--color-body-text);box-sizing:border-box;line-height:1.5}.textarea__field::placeholder{color:var(--color-tertiary)}.textarea__field:disabled{cursor:not-allowed}.textarea__field--resize-none{resize:none}.textarea__field--resize-vertical{resize:vertical}.textarea__field--resize-horizontal{resize:horizontal}.textarea__field--resize-both{resize:both}.textarea__field--auto-resize{resize:none;overflow:hidden}.textarea__clear-btn{border:none;background:transparent;color:var(--color-gray-400);cursor:pointer;padding:0;display:inline-flex;align-items:flex-start;align-self:flex-start;margin-top:var(--spacing-1);outline:none;flex-shrink:0;transition:color var(--transition-speed-fast) var(--transition-timing)}.textarea__clear-btn:hover{color:var(--color-gray-600)}";var d=Object.defineProperty,y=Object.getOwnPropertyDescriptor,r=(l,e,a,o)=>{for(var s=o>1?void 0:o?y(e,a):e,n=l.length-1,h;n>=0;n--)(h=l[n])&&(s=(o?h(e,a,s):h(s))||s);return o&&s&&d(e,a,s),s};exports.TextArea=class extends i.LitElement{constructor(){super(...arguments),this.value="",this.placeholder="",this.name="",this.autocomplete="",this.rows=3,this.wrap="soft",this.resize="vertical",this.autoResize=!1,this.size="default",this.variant="default",this.showClear=!1,this.label="",this.helper="",this.error="",this.required=!1,this.disabled=!1,this.readonly=!1,this._internalError="",this.handleInput=e=>{const a=e.target;this.value=a.value,this.autoResize&&this.adjustHeight(),this._internalError&&(this._internalError="",this._textareaElement.setCustomValidity("")),this.dispatchEvent(new CustomEvent("input",{bubbles:!0,composed:!0,detail:{value:this.value,originalEvent:e}}))},this.handleChange=e=>{const a=e.target;this.value=a.value,a.checkValidity()||(this._internalError=a.validationMessage),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:{value:this.value,originalEvent:e}}))},this.handleKeyDown=e=>{this.dispatchEvent(new CustomEvent("keydown",{bubbles:!0,composed:!0,detail:{key:e.key,originalEvent:e}}))},this.handleKeyUp=e=>{this.dispatchEvent(new CustomEvent("keyup",{bubbles:!0,composed:!0,detail:{key:e.key,originalEvent:e}}))},this.handleClear=()=>{this.value="",this._textareaElement&&(this._textareaElement.value="",this.autoResize&&this.adjustHeight()),this.dispatchEvent(new CustomEvent("clear",{bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("input",{bubbles:!0,composed:!0,detail:{value:"",originalEvent:null}}))}}get textareaElement(){return this._textareaElement}focus(){this._textareaElement?.focus()}blur(){this._textareaElement?.blur()}select(){this._textareaElement?.select()}setSelectionRange(e,a,o){this._textareaElement?.setSelectionRange(e,a,o)}checkValidity(){return this._textareaElement?.checkValidity()??!0}reportValidity(){return this._textareaElement?.reportValidity()??!0}setCustomValidity(e){this._textareaElement?.setCustomValidity(e),this._internalError=e,this.requestUpdate()}adjustHeight(){!this.autoResize||!this._textareaElement||(this._textareaElement.style.height="auto",this._textareaElement.style.height=`${this._textareaElement.scrollHeight}px`)}updated(e){super.updated(e),e.has("value")&&this.autoResize&&this.adjustHeight()}getResizeClass(){return this.autoResize?"textarea__field--auto-resize":{none:"textarea__field--resize-none",vertical:"textarea__field--resize-vertical",horizontal:"textarea__field--resize-horizontal",both:"textarea__field--resize-both"}[this.resize]}render(){const e=this.error||this._internalError,a=this.showClear&&this.value&&!this.disabled&&!this.readonly,o=`textarea__field ${this.getResizeClass()}`;return i.html`
2
+ <logosphere-formfield
3
+ .label=${this.label}
4
+ .helper=${this.helper}
5
+ .error=${e}
6
+ .required=${this.required}
7
+ .disabled=${this.disabled}
8
+ .readonly=${this.readonly}
9
+ .placeholder=${this.placeholder}
10
+ .size=${this.size}
11
+ .variant=${this.variant}
12
+ >
13
+ <textarea
14
+ class="${o}"
15
+ .value=${p.live(this.value)}
16
+ placeholder=${this.placeholder||i.nothing}
17
+ name=${this.name||i.nothing}
18
+ autocomplete=${this.autocomplete||i.nothing}
19
+ ?required=${this.required}
20
+ ?disabled=${this.disabled}
21
+ ?readonly=${this.readonly}
22
+ minlength=${this.minlength??i.nothing}
23
+ maxlength=${this.maxlength??i.nothing}
24
+ rows=${this.rows}
25
+ cols=${this.cols??i.nothing}
26
+ wrap=${this.wrap}
27
+ @input=${this.handleInput}
28
+ @change=${this.handleChange}
29
+ @keydown=${this.handleKeyDown}
30
+ @keyup=${this.handleKeyUp}
31
+ ></textarea>
32
+ ${a?i.html`
33
+ <button
34
+ type="button"
35
+ slot="suffix"
36
+ class="textarea__clear-btn"
37
+ @click=${this.handleClear}
38
+ tabindex="-1"
39
+ >
40
+ <ui-icon name="uil-times" size="14"></ui-icon>
41
+ </button>
42
+ `:i.nothing}
43
+ </logosphere-formfield>
44
+ `}};exports.TextArea.styles=[i.css`${i.unsafeCSS(u)}`];r([t.query("textarea")],exports.TextArea.prototype,"_textareaElement",2);r([t.property({type:String})],exports.TextArea.prototype,"value",2);r([t.property({type:String})],exports.TextArea.prototype,"placeholder",2);r([t.property({type:String})],exports.TextArea.prototype,"name",2);r([t.property({type:String})],exports.TextArea.prototype,"autocomplete",2);r([t.property({type:Number})],exports.TextArea.prototype,"minlength",2);r([t.property({type:Number})],exports.TextArea.prototype,"maxlength",2);r([t.property({type:Number})],exports.TextArea.prototype,"rows",2);r([t.property({type:Number})],exports.TextArea.prototype,"cols",2);r([t.property({type:String})],exports.TextArea.prototype,"wrap",2);r([t.property({type:String})],exports.TextArea.prototype,"resize",2);r([t.property({type:Boolean})],exports.TextArea.prototype,"autoResize",2);r([t.property({type:String})],exports.TextArea.prototype,"size",2);r([t.property({type:String})],exports.TextArea.prototype,"variant",2);r([t.property({type:Boolean})],exports.TextArea.prototype,"showClear",2);r([t.property({type:String})],exports.TextArea.prototype,"label",2);r([t.property({type:String})],exports.TextArea.prototype,"helper",2);r([t.property({type:String})],exports.TextArea.prototype,"error",2);r([t.property({type:Boolean})],exports.TextArea.prototype,"required",2);r([t.property({type:Boolean})],exports.TextArea.prototype,"disabled",2);r([t.property({type:Boolean})],exports.TextArea.prototype,"readonly",2);r([t.state()],exports.TextArea.prototype,"_internalError",2);exports.TextArea=r([t.customElement("logosphere-textarea")],exports.TextArea);
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./text-area-eT-oCnqZ.cjs");Object.defineProperty(exports,"TextArea",{enumerable:!0,get:()=>e.TextArea});
@@ -0,0 +1,4 @@
1
+ import { T as a } from "./text-area-Dw4CUBcz.js";
2
+ export {
3
+ a as TextArea
4
+ };
@@ -0,0 +1,22 @@
1
+ "use strict";const a=require("lit"),l=require("lit/directives/unsafe-html.js"),n='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13.41,12l4.3-4.29a1,1,0,1,0-1.42-1.42L12,10.59,7.71,6.29A1,1,0,0,0,6.29,7.71L10.59,12l-4.3,4.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L12,13.41l4.29,4.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42Z"/></svg>',w='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17,9.17a1,1,0,0,0-1.41,0L12,12.71,8.46,9.17a1,1,0,0,0-1.41,0,1,1,0,0,0,0,1.42l4.24,4.24a1,1,0,0,0,1.42,0L17,10.59A1,1,0,0,0,17,9.17Z"/></svg>',h='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,4H17V3a1,1,0,0,0-2,0V4H9V3A1,1,0,0,0,7,3V4H5A3,3,0,0,0,2,7V19a3,3,0,0,0,3,3H19a3,3,0,0,0,3-3V7A3,3,0,0,0,19,4Zm1,15a1,1,0,0,1-1,1H5a1,1,0,0,1-1-1V12H20Zm0-9H4V7A1,1,0,0,1,5,6H7V7A1,1,0,0,0,9,7V6h6V7a1,1,0,0,0,2,0V6h2a1,1,0,0,1,1,1Z"/></svg>',i='<svg xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" viewBox="0 0 24 24"><path d="M17,11H9.41l3.3-3.29a1,1,0,1,0-1.42-1.42l-5,5a1,1,0,0,0-.21.33,1,1,0,0,0,0,.76,1,1,0,0,0,.21.33l5,5a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42L9.41,13H17a1,1,0,0,0,0-2Z"/></svg>',o='<svg xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" viewBox="0 0 24 24"><path d="M17.92,11.62a1,1,0,0,0-.21-.33l-5-5a1,1,0,0,0-1.42,1.42L14.59,11H7a1,1,0,0,0,0,2h7.59l-3.3,3.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l5-5a1,1,0,0,0,.21-.33A1,1,0,0,0,17.92,11.62Z"/></svg>',r='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20,6H16V5a3,3,0,0,0-3-3H11A3,3,0,0,0,8,5V6H4A1,1,0,0,0,4,8H5V19a3,3,0,0,0,3,3h8a3,3,0,0,0,3-3V8h1a1,1,0,0,0,0-2ZM10,5a1,1,0,0,1,1-1h2a1,1,0,0,1,1,1V6H10Zm7,14a1,1,0,0,1-1,1H8a1,1,0,0,1-1-1V8H17Z"/></svg>',g='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21.71,2.29a1,1,0,0,0-1.42,0L14.5,8.09V6.5a1,1,0,0,0-2,0v4a1,1,0,0,0,.08.38,1,1,0,0,0,.54.54,1,1,0,0,0,.38.08h4a1,1,0,0,0,0-2H15.91l5.8-5.79A1,1,0,0,0,21.71,2.29ZM10.88,12.58a1,1,0,0,0-.38-.08h-4a1,1,0,0,0,0,2H8.09l-5.8,5.79a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l5.79-5.8V17.5a1,1,0,0,0,2,0v-4a1,1,0,0,0-.08-.38A1,1,0,0,0,10.88,12.58Z"/></svg>',v='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.79,12.79,4,18.59V17a1,1,0,0,0-2,0v4a1,1,0,0,0,.08.38,1,1,0,0,0,.54.54A1,1,0,0,0,3,22H7a1,1,0,0,0,0-2H5.41l5.8-5.79a1,1,0,0,0-1.42-1.42ZM21.92,2.62a1,1,0,0,0-.54-.54A1,1,0,0,0,21,2H17a1,1,0,0,0,0,2h1.59l-5.8,5.79a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L20,5.41V7a1,1,0,0,0,2,0V3A1,1,0,0,0,21.92,2.62Z"/></svg>',H='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21,8.94a1.31,1.31,0,0,0-.06-.27l0-.09a1.07,1.07,0,0,0-.19-.28h0l-6-6h0a1.07,1.07,0,0,0-.28-.19.32.32,0,0,0-.09,0A.88.88,0,0,0,14.05,2H10A3,3,0,0,0,7,5V6H6A3,3,0,0,0,3,9V19a3,3,0,0,0,3,3h8a3,3,0,0,0,3-3V18h1a3,3,0,0,0,3-3V9S21,9,21,8.94ZM15,5.41,17.59,8H16a1,1,0,0,1-1-1ZM15,19a1,1,0,0,1-1,1H6a1,1,0,0,1-1-1V9A1,1,0,0,1,6,8H7v7a3,3,0,0,0,3,3h5Zm4-4a1,1,0,0,1-1,1H10a1,1,0,0,1-1-1V5a1,1,0,0,1,1-1h3V7a3,3,0,0,0,3,3h3Z"/></svg>',m='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21.3,10.08A3,3,0,0,0,19,9H14.44L15,7.57A4.13,4.13,0,0,0,11.11,2a1,1,0,0,0-.91.59L7.35,9H5a3,3,0,0,0-3,3v7a3,3,0,0,0,3,3H17.73a3,3,0,0,0,2.95-2.46l1.27-7A3,3,0,0,0,21.3,10.08ZM7,20H5a1,1,0,0,1-1-1V12a1,1,0,0,1,1-1H7Zm13-7.82-1.27,7a1,1,0,0,1-1,.82H9V10.21l2.72-6.12A2.11,2.11,0,0,1,13.1,6.87L12.57,8.3A2,2,0,0,0,14.44,11H19a1,1,0,0,1,.77.36A1,1,0,0,1,20,12.18Z"/></svg>',p='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,2H6.27A3,3,0,0,0,3.32,4.46l-1.27,7A3,3,0,0,0,5,15H9.56L9,16.43A4.13,4.13,0,0,0,12.89,22a1,1,0,0,0,.91-.59L16.65,15H19a3,3,0,0,0,3-3V5A3,3,0,0,0,19,2ZM15,13.79l-2.72,6.12a2.13,2.13,0,0,1-1.38-2.78l.53-1.43A2,2,0,0,0,9.56,13H5a1,1,0,0,1-.77-.36A1,1,0,0,1,4,11.82l1.27-7a1,1,0,0,1,1-.82H15ZM20,12a1,1,0,0,1-1,1H17V4h2a1,1,0,0,1,1,1Z"/></svg>',c='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.71,12.71a1,1,0,0,0,.21-.33,1,1,0,0,0,0-.76,1,1,0,0,0-.21-.33l-3-3a1,1,0,0,0-1.42,1.42L12.59,11H9a1,1,0,0,0,0,2h3.59l-1.3,1.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0ZM22,12A10,10,0,1,0,12,22,10,10,0,0,0,22,12ZM4,12a8,8,0,1,1,8,8A8,8,0,0,1,4,12Z"/></svg>',A={"uil-times":n,"uil-angle-down":w,"uil-calendar":h,"uil-arrow-left":i,"uil-arrow-right":o,"uil-trash":r,"uil-compress-alt":g,"uil-expand-alt":v,"uil-copy":H,"uil-thumbs-up":m,"uil-thumbs-down":p,"uil-arrow-circle-right":c},t=class t extends a.LitElement{constructor(){super(...arguments),this.name="",this.size=20}render(){const e=A[this.name];return e?a.html`
2
+ <span
3
+ style="font-size: ${this.size}px;"
4
+ aria-hidden="true"
5
+ >
6
+ ${l.unsafeHTML(e)}
7
+ </span>
8
+ `:(console.warn(`Icon "${this.name}" not found.`),a.html``)}};t.properties={name:{type:String},size:{type:Number}},t.styles=a.css`
9
+ :host {
10
+ display: inline-flex;
11
+ align-items: center;
12
+ justify-content: center;
13
+ line-height: 0;
14
+ color: inherit;
15
+ }
16
+
17
+ svg {
18
+ width: 1em;
19
+ height: 1em;
20
+ fill: currentColor;
21
+ }
22
+ `;let s=t;customElements.define("ui-icon",s);
@@ -0,0 +1,51 @@
1
+ import { LitElement as l, css as w, html as e } from "lit";
2
+ import { unsafeHTML as n } from "lit/directives/unsafe-html.js";
3
+ const o = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13.41,12l4.3-4.29a1,1,0,1,0-1.42-1.42L12,10.59,7.71,6.29A1,1,0,0,0,6.29,7.71L10.59,12l-4.3,4.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L12,13.41l4.29,4.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42Z"/></svg>', h = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17,9.17a1,1,0,0,0-1.41,0L12,12.71,8.46,9.17a1,1,0,0,0-1.41,0,1,1,0,0,0,0,1.42l4.24,4.24a1,1,0,0,0,1.42,0L17,10.59A1,1,0,0,0,17,9.17Z"/></svg>', i = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,4H17V3a1,1,0,0,0-2,0V4H9V3A1,1,0,0,0,7,3V4H5A3,3,0,0,0,2,7V19a3,3,0,0,0,3,3H19a3,3,0,0,0,3-3V7A3,3,0,0,0,19,4Zm1,15a1,1,0,0,1-1,1H5a1,1,0,0,1-1-1V12H20Zm0-9H4V7A1,1,0,0,1,5,6H7V7A1,1,0,0,0,9,7V6h6V7a1,1,0,0,0,2,0V6h2a1,1,0,0,1,1,1Z"/></svg>', r = '<svg xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" viewBox="0 0 24 24"><path d="M17,11H9.41l3.3-3.29a1,1,0,1,0-1.42-1.42l-5,5a1,1,0,0,0-.21.33,1,1,0,0,0,0,.76,1,1,0,0,0,.21.33l5,5a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42L9.41,13H17a1,1,0,0,0,0-2Z"/></svg>', g = '<svg xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" viewBox="0 0 24 24"><path d="M17.92,11.62a1,1,0,0,0-.21-.33l-5-5a1,1,0,0,0-1.42,1.42L14.59,11H7a1,1,0,0,0,0,2h7.59l-3.3,3.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l5-5a1,1,0,0,0,.21-.33A1,1,0,0,0,17.92,11.62Z"/></svg>', v = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20,6H16V5a3,3,0,0,0-3-3H11A3,3,0,0,0,8,5V6H4A1,1,0,0,0,4,8H5V19a3,3,0,0,0,3,3h8a3,3,0,0,0,3-3V8h1a1,1,0,0,0,0-2ZM10,5a1,1,0,0,1,1-1h2a1,1,0,0,1,1,1V6H10Zm7,14a1,1,0,0,1-1,1H8a1,1,0,0,1-1-1V8H17Z"/></svg>', m = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21.71,2.29a1,1,0,0,0-1.42,0L14.5,8.09V6.5a1,1,0,0,0-2,0v4a1,1,0,0,0,.08.38,1,1,0,0,0,.54.54,1,1,0,0,0,.38.08h4a1,1,0,0,0,0-2H15.91l5.8-5.79A1,1,0,0,0,21.71,2.29ZM10.88,12.58a1,1,0,0,0-.38-.08h-4a1,1,0,0,0,0,2H8.09l-5.8,5.79a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l5.79-5.8V17.5a1,1,0,0,0,2,0v-4a1,1,0,0,0-.08-.38A1,1,0,0,0,10.88,12.58Z"/></svg>', H = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.79,12.79,4,18.59V17a1,1,0,0,0-2,0v4a1,1,0,0,0,.08.38,1,1,0,0,0,.54.54A1,1,0,0,0,3,22H7a1,1,0,0,0,0-2H5.41l5.8-5.79a1,1,0,0,0-1.42-1.42ZM21.92,2.62a1,1,0,0,0-.54-.54A1,1,0,0,0,21,2H17a1,1,0,0,0,0,2h1.59l-5.8,5.79a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L20,5.41V7a1,1,0,0,0,2,0V3A1,1,0,0,0,21.92,2.62Z"/></svg>', p = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21,8.94a1.31,1.31,0,0,0-.06-.27l0-.09a1.07,1.07,0,0,0-.19-.28h0l-6-6h0a1.07,1.07,0,0,0-.28-.19.32.32,0,0,0-.09,0A.88.88,0,0,0,14.05,2H10A3,3,0,0,0,7,5V6H6A3,3,0,0,0,3,9V19a3,3,0,0,0,3,3h8a3,3,0,0,0,3-3V18h1a3,3,0,0,0,3-3V9S21,9,21,8.94ZM15,5.41,17.59,8H16a1,1,0,0,1-1-1ZM15,19a1,1,0,0,1-1,1H6a1,1,0,0,1-1-1V9A1,1,0,0,1,6,8H7v7a3,3,0,0,0,3,3h5Zm4-4a1,1,0,0,1-1,1H10a1,1,0,0,1-1-1V5a1,1,0,0,1,1-1h3V7a3,3,0,0,0,3,3h3Z"/></svg>', c = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21.3,10.08A3,3,0,0,0,19,9H14.44L15,7.57A4.13,4.13,0,0,0,11.11,2a1,1,0,0,0-.91.59L7.35,9H5a3,3,0,0,0-3,3v7a3,3,0,0,0,3,3H17.73a3,3,0,0,0,2.95-2.46l1.27-7A3,3,0,0,0,21.3,10.08ZM7,20H5a1,1,0,0,1-1-1V12a1,1,0,0,1,1-1H7Zm13-7.82-1.27,7a1,1,0,0,1-1,.82H9V10.21l2.72-6.12A2.11,2.11,0,0,1,13.1,6.87L12.57,8.3A2,2,0,0,0,14.44,11H19a1,1,0,0,1,.77.36A1,1,0,0,1,20,12.18Z"/></svg>', A = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,2H6.27A3,3,0,0,0,3.32,4.46l-1.27,7A3,3,0,0,0,5,15H9.56L9,16.43A4.13,4.13,0,0,0,12.89,22a1,1,0,0,0,.91-.59L16.65,15H19a3,3,0,0,0,3-3V5A3,3,0,0,0,19,2ZM15,13.79l-2.72,6.12a2.13,2.13,0,0,1-1.38-2.78l.53-1.43A2,2,0,0,0,9.56,13H5a1,1,0,0,1-.77-.36A1,1,0,0,1,4,11.82l1.27-7a1,1,0,0,1,1-.82H15ZM20,12a1,1,0,0,1-1,1H17V4h2a1,1,0,0,1,1,1Z"/></svg>', V = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.71,12.71a1,1,0,0,0,.21-.33,1,1,0,0,0,0-.76,1,1,0,0,0-.21-.33l-3-3a1,1,0,0,0-1.42,1.42L12.59,11H9a1,1,0,0,0,0,2h3.59l-1.3,1.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0ZM22,12A10,10,0,1,0,12,22,10,10,0,0,0,22,12ZM4,12a8,8,0,1,1,8,8A8,8,0,0,1,4,12Z"/></svg>', u = {
4
+ "uil-times": o,
5
+ "uil-angle-down": h,
6
+ "uil-calendar": i,
7
+ "uil-arrow-left": r,
8
+ "uil-arrow-right": g,
9
+ "uil-trash": v,
10
+ "uil-compress-alt": m,
11
+ "uil-expand-alt": H,
12
+ "uil-copy": p,
13
+ "uil-thumbs-up": c,
14
+ "uil-thumbs-down": A,
15
+ "uil-arrow-circle-right": V
16
+ }, a = class a extends l {
17
+ constructor() {
18
+ super(...arguments), this.name = "", this.size = 20;
19
+ }
20
+ render() {
21
+ const s = u[this.name];
22
+ return s ? e`
23
+ <span
24
+ style="font-size: ${this.size}px;"
25
+ aria-hidden="true"
26
+ >
27
+ ${n(s)}
28
+ </span>
29
+ ` : (console.warn(`Icon "${this.name}" not found.`), e``);
30
+ }
31
+ };
32
+ a.properties = {
33
+ name: { type: String },
34
+ size: { type: Number }
35
+ }, a.styles = w`
36
+ :host {
37
+ display: inline-flex;
38
+ align-items: center;
39
+ justify-content: center;
40
+ line-height: 0;
41
+ color: inherit;
42
+ }
43
+
44
+ svg {
45
+ width: 1em;
46
+ height: 1em;
47
+ fill: currentColor;
48
+ }
49
+ `;
50
+ let t = a;
51
+ customElements.define("ui-icon", t);
package/dist/vite.svg ADDED
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/package.json ADDED
@@ -0,0 +1,184 @@
1
+ {
2
+ "name": "@logosphere-ui/core",
3
+ "version": "0.0.0-alpha.11",
4
+ "description": "A modern, framework-agnostic UI component library built with Lit and Web Components",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "files": [
9
+ "dist/**/*",
10
+ "README.md"
11
+ ],
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/index.js",
16
+ "require": "./dist/index.cjs"
17
+ },
18
+ "./button": {
19
+ "types": "./dist/atoms/Button/index.d.ts",
20
+ "import": "./dist/button.js",
21
+ "require": "./dist/button.cjs"
22
+ },
23
+ "./modal": {
24
+ "types": "./dist/organisms/Modal/index.d.ts",
25
+ "import": "./dist/modal.js",
26
+ "require": "./dist/modal.cjs"
27
+ },
28
+ "./checkbox": {
29
+ "types": "./dist/atoms/Checkbox/index.d.ts",
30
+ "import": "./dist/checkbox.js",
31
+ "require": "./dist/checkbox.cjs"
32
+ },
33
+ "./chatbot": {
34
+ "types": "./dist/organisms/Chatbot/index.d.ts",
35
+ "import": "./dist/chatbot.js",
36
+ "require": "./dist/chatbot.cjs"
37
+ },
38
+ "./popover": {
39
+ "types": "./dist/molecules/Popover/index.d.ts",
40
+ "import": "./dist/popover.js",
41
+ "require": "./dist/popover.cjs"
42
+ },
43
+ "./switch": {
44
+ "types": "./dist/atoms/Switch/index.d.ts",
45
+ "import": "./dist/switch.js",
46
+ "require": "./dist/switch.cjs"
47
+ },
48
+ "./card": {
49
+ "types": "./dist/molecules/Card/index.d.ts",
50
+ "import": "./dist/card.js",
51
+ "require": "./dist/card.cjs"
52
+ },
53
+ "./breadcrumb": {
54
+ "types": "./dist/molecules/Breadcrumb/index.d.ts",
55
+ "import": "./dist/breadcrumb.js",
56
+ "require": "./dist/breadcrumb.cjs"
57
+ },
58
+ "./formfield": {
59
+ "types": "./dist/atoms/FormField/index.d.ts",
60
+ "import": "./dist/formfield.js",
61
+ "require": "./dist/formfield.cjs"
62
+ },
63
+ "./combobox": {
64
+ "types": "./dist/organisms/Combobox/index.d.ts",
65
+ "import": "./dist/combobox.js",
66
+ "require": "./dist/combobox.cjs"
67
+ },
68
+ "./textarea": {
69
+ "types": "./dist/molecules/Textarea/index.d.ts",
70
+ "import": "./dist/textarea.js",
71
+ "require": "./dist/textarea.cjs"
72
+ },
73
+ "./datepicker": {
74
+ "types": "./dist/organisms/DatePicker/index.d.ts",
75
+ "import": "./dist/datepicker.js",
76
+ "require": "./dist/datepicker.cjs"
77
+ },
78
+ "./download-manager": {
79
+ "types": "./dist/organisms/DownloadManager/index.d.ts",
80
+ "import": "./dist/download-manager.js",
81
+ "require": "./dist/download-manager.cjs"
82
+ },
83
+ "./tab": {
84
+ "types": "./dist/organisms/Tab/index.d.ts",
85
+ "import": "./dist/tab.js",
86
+ "require": "./dist/tab.cjs"
87
+ },
88
+ "./styles/main.css": "./dist/styles/main.css"
89
+ },
90
+ "keywords": [
91
+ "web-components",
92
+ "ui-library",
93
+ "lit",
94
+ "angular",
95
+ "vanilla-js",
96
+ "design-system",
97
+ "components",
98
+ "css-variables",
99
+ "enterprise"
100
+ ],
101
+ "author": "Logo",
102
+ "license": "MIT",
103
+ "readme": "README.md",
104
+ "repository": {
105
+ "type": "git",
106
+ "url": "https://github.com/logo-software/logosphere-ui.git"
107
+ },
108
+ "homepage": "https://github.com/logo-software/logosphere-ui#readme",
109
+ "bugs": {
110
+ "url": "https://github.com/logo-software/logosphere-ui/issues"
111
+ },
112
+ "scripts": {
113
+ "dev": "vite",
114
+ "build": "npm run build:main && npm run build:umd && npm run build:types && npm run build:css",
115
+ "build:main": "vite build --config vite.build.config.ts",
116
+ "build:umd": "vite build --config vite.umd.config.ts",
117
+ "build:types": "tsc --emitDeclarationOnly --noEmit false --outDir dist",
118
+ "test": "vitest",
119
+ "test:ui": "vitest --ui",
120
+ "test:run": "vitest run",
121
+ "test:watch": "vitest --watch",
122
+ "test:coverage": "vitest run --coverage",
123
+ "test:unit": "vitest run src/**/*.test.ts",
124
+ "test:integration": "vitest run tests/integration/**/*.test.ts",
125
+ "preview": "vite preview",
126
+ "create-component": "node create-component.cjs",
127
+ "create-new-component": "node create-new-component.js",
128
+ "storybook": "storybook dev -p 6006",
129
+ "build-storybook": "storybook build",
130
+ "build:css": "node build-css.js",
131
+ "format": "prettier --write .",
132
+ "format:check": "prettier --check .",
133
+ "format:packages": "prettier --write packages/**/*.{ts,js,html,css,md} --ignore-path .prettierignore",
134
+ "format:src": "prettier --write src/**/*.{ts,js,html,css,md} --ignore-path .prettierignore",
135
+ "lint": "eslint .",
136
+ "lint:fix": "eslint . --fix",
137
+ "lint:packages": "eslint packages/**/*.{ts,js}",
138
+ "lint:src": "eslint src/**/*.{ts,js}",
139
+ "prepublishOnly": "npm run build"
140
+ },
141
+ "dependencies": {
142
+ "@iconscout/unicons": "^4.2.0",
143
+ "@popperjs/core": "^2.11.8",
144
+ "dayjs": "^1.11.18",
145
+ "lit": "^3.3.0"
146
+ },
147
+ "devDependencies": {
148
+ "@babel/core": "^7.28.4",
149
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
150
+ "@babel/plugin-proposal-optional-chaining": "^7.21.0",
151
+ "@babel/preset-env": "^7.28.3",
152
+ "@chromatic-com/storybook": "^4.1.3",
153
+ "@open-wc/testing": "^4.0.0",
154
+ "@rollup/plugin-babel": "^6.1.0",
155
+ "@rollup/plugin-typescript": "^12.1.4",
156
+ "@storybook/addon-a11y": "^10.1.4",
157
+ "@storybook/addon-docs": "^10.1.4",
158
+ "@storybook/addon-vitest": "^10.1.4",
159
+ "@storybook/builder-vite": "^10.1.4",
160
+ "@storybook/web-components-vite": "^10.1.4",
161
+ "@testing-library/jest-dom": "^6.9.1",
162
+ "@types/jest": "^30.0.0",
163
+ "@typescript-eslint/eslint-plugin": "^8.41.0",
164
+ "@typescript-eslint/parser": "^8.41.0",
165
+ "@vitest/browser": "^3.2.4",
166
+ "@vitest/coverage-v8": "^3.2.4",
167
+ "@web/test-runner": "^0.20.2",
168
+ "@web/test-runner-playwright": "^0.11.1",
169
+ "baseline-browser-mapping": "^2.9.12",
170
+ "eslint": "^9.34.0",
171
+ "eslint-plugin-storybook": "10.1.4",
172
+ "globals": "^16.4.0",
173
+ "jsdom": "^27.0.1",
174
+ "playwright": "^1.54.1",
175
+ "prettier": "^3.6.2",
176
+ "rollup-plugin-copy": "^3.5.0",
177
+ "storybook": "^10.1.4",
178
+ "ts-node": "^10.9.2",
179
+ "typescript": "~5.8.3",
180
+ "vite": "^7.0.3",
181
+ "vite-plugin-string": "^1.2.3",
182
+ "vitest": "^3.2.4"
183
+ }
184
+ }