@haloduck/ui 2.0.39 → 2.0.40

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/index.d.ts CHANGED
@@ -123,6 +123,7 @@ declare class SelectComponent implements ControlValueAccessor, AfterViewInit, On
123
123
  private selectedIdToDisplayOption;
124
124
  manualInputValues: Record<string, string>;
125
125
  activeManualKey: string | null;
126
+ isComposing: boolean;
126
127
  onClick(event: MouseEvent): void;
127
128
  onKeyDown(event: KeyboardEvent): void;
128
129
  onDeselectOption(event: Event, option: Option): void;
@@ -144,6 +145,8 @@ declare class SelectComponent implements ControlValueAccessor, AfterViewInit, On
144
145
  getManualKey(option: Option): string;
145
146
  seedManualInputs(): void;
146
147
  onManualInputChange(option: Option, value: string): void;
148
+ onCompositionStart(): void;
149
+ onCompositionEnd(option: Option, event: Event): void;
147
150
  onManualInputBlur(option: Option): void;
148
151
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
149
152
  static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "haloduck-select", never, { "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "asButton": { "alias": "asButton"; "required": false; }; "useIcon": { "alias": "useIcon"; "required": false; }; "useFilter": { "alias": "useFilter"; "required": false; }; "multiselect": { "alias": "multiselect"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "atLeastOne": { "alias": "atLeastOne"; "required": false; }; "showAll": { "alias": "showAll"; "required": false; }; "showAllItems": { "alias": "showAllItems"; "required": false; }; "options": { "alias": "options"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "selectedChange": "selectedChange"; }, never, ["*", "buttonIcon"], true, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haloduck/ui",
3
- "version": "2.0.39",
3
+ "version": "2.0.40",
4
4
  "description": "HaloDuck UI Library - Angular",
5
5
  "keywords": [
6
6
  "angular",
package/src/tailwind.css CHANGED
@@ -581,6 +581,9 @@
581
581
  .resize {
582
582
  resize: both;
583
583
  }
584
+ .appearance-none {
585
+ appearance: none;
586
+ }
584
587
  .grid-cols-7 {
585
588
  grid-template-columns: repeat(7, minmax(0, 1fr));
586
589
  }
@@ -1274,6 +1277,67 @@
1274
1277
  color: var(--color-light-inactive);
1275
1278
  }
1276
1279
  }
1280
+ .before\:absolute {
1281
+ &::before {
1282
+ content: var(--tw-content);
1283
+ position: absolute;
1284
+ }
1285
+ }
1286
+ .before\:inset-0 {
1287
+ &::before {
1288
+ content: var(--tw-content);
1289
+ inset: calc(var(--spacing) * 0);
1290
+ }
1291
+ }
1292
+ .before\:inset-\[4px\] {
1293
+ &::before {
1294
+ content: var(--tw-content);
1295
+ inset: 4px;
1296
+ }
1297
+ }
1298
+ .before\:rounded-full {
1299
+ &::before {
1300
+ content: var(--tw-content);
1301
+ border-radius: calc(infinity * 1px);
1302
+ }
1303
+ }
1304
+ .before\:bg-light-on-primary {
1305
+ &::before {
1306
+ content: var(--tw-content);
1307
+ background-color: var(--color-light-on-primary);
1308
+ }
1309
+ }
1310
+ .before\:bg-\[url\(\'data\:image\/svg\+xml\;base64\,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDEyIDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI\+PHBhdGggZD0iTTEgNEw0LjUgNy41TDExIDEiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8\+PC9zdmc\+\'\)\] {
1311
+ &::before {
1312
+ content: var(--tw-content);
1313
+ background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDEyIDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEgNEw0LjUgNy41TDExIDEiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+');
1314
+ }
1315
+ }
1316
+ .before\:bg-center {
1317
+ &::before {
1318
+ content: var(--tw-content);
1319
+ background-position: center;
1320
+ }
1321
+ }
1322
+ .before\:bg-no-repeat {
1323
+ &::before {
1324
+ content: var(--tw-content);
1325
+ background-repeat: no-repeat;
1326
+ }
1327
+ }
1328
+ .before\:opacity-0 {
1329
+ &::before {
1330
+ content: var(--tw-content);
1331
+ opacity: 0%;
1332
+ }
1333
+ }
1334
+ .before\:content-\[\'\'\] {
1335
+ &::before {
1336
+ content: var(--tw-content);
1337
+ --tw-content: '';
1338
+ content: var(--tw-content);
1339
+ }
1340
+ }
1277
1341
  .first\:rounded-bl-lg {
1278
1342
  &:first-child {
1279
1343
  border-bottom-left-radius: var(--radius-lg);
@@ -1294,6 +1358,24 @@
1294
1358
  background-color: var(--color-light-alternative);
1295
1359
  }
1296
1360
  }
1361
+ .checked\:border-light-primary {
1362
+ &:checked {
1363
+ border-color: var(--color-light-primary);
1364
+ }
1365
+ }
1366
+ .checked\:bg-light-primary {
1367
+ &:checked {
1368
+ background-color: var(--color-light-primary);
1369
+ }
1370
+ }
1371
+ .checked\:before\:opacity-100 {
1372
+ &:checked {
1373
+ &::before {
1374
+ content: var(--tw-content);
1375
+ opacity: 100%;
1376
+ }
1377
+ }
1378
+ }
1297
1379
  .hover\:scale-105 {
1298
1380
  &:hover {
1299
1381
  @media (hover: hover) {
@@ -1778,6 +1860,14 @@
1778
1860
  }
1779
1861
  }
1780
1862
  }
1863
+ .before\:dark\:bg-dark-on-primary {
1864
+ &::before {
1865
+ content: var(--tw-content);
1866
+ @media (prefers-color-scheme: dark) {
1867
+ background-color: var(--color-dark-on-primary);
1868
+ }
1869
+ }
1870
+ }
1781
1871
  .dark\:odd\:bg-dark-background {
1782
1872
  @media (prefers-color-scheme: dark) {
1783
1873
  &:nth-child(odd) {
@@ -1792,6 +1882,20 @@
1792
1882
  }
1793
1883
  }
1794
1884
  }
1885
+ .checked\:dark\:border-dark-primary {
1886
+ &:checked {
1887
+ @media (prefers-color-scheme: dark) {
1888
+ border-color: var(--color-dark-primary);
1889
+ }
1890
+ }
1891
+ }
1892
+ .checked\:dark\:bg-dark-primary {
1893
+ &:checked {
1894
+ @media (prefers-color-scheme: dark) {
1895
+ background-color: var(--color-dark-primary);
1896
+ }
1897
+ }
1898
+ }
1795
1899
  .dark\:hover\:border-dark-primary {
1796
1900
  @media (prefers-color-scheme: dark) {
1797
1901
  &:hover {
@@ -2098,6 +2202,11 @@
2098
2202
  syntax: "*";
2099
2203
  inherits: false;
2100
2204
  }
2205
+ @property --tw-content {
2206
+ syntax: "*";
2207
+ initial-value: "";
2208
+ inherits: false;
2209
+ }
2101
2210
  @keyframes spin {
2102
2211
  to {
2103
2212
  transform: rotate(360deg);
@@ -2160,6 +2269,7 @@
2160
2269
  --tw-drop-shadow-alpha: 100%;
2161
2270
  --tw-drop-shadow-size: initial;
2162
2271
  --tw-duration: initial;
2272
+ --tw-content: "";
2163
2273
  }
2164
2274
  }
2165
2275
  }