@innovaccer/design-system 2.24.0 → 2.25.1

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 (30) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/css/dist/index.css +129 -1
  3. package/css/dist/index.css.map +1 -1
  4. package/css/src/components/card.css +0 -1
  5. package/css/src/components/listbox.css +115 -0
  6. package/css/src/core/animation.css +11 -0
  7. package/dist/.lib/tsconfig.type.tsbuildinfo +210 -5
  8. package/dist/core/components/organisms/listbox/Listbox.d.ts +33 -0
  9. package/dist/core/components/organisms/listbox/index.d.ts +3 -0
  10. package/dist/core/components/organisms/listbox/listboxItem/ListBody.d.ts +3 -0
  11. package/dist/core/components/organisms/listbox/listboxItem/ListboxItem.d.ts +23 -0
  12. package/dist/core/components/organisms/listbox/listboxItem/index.d.ts +1 -0
  13. package/dist/core/components/organisms/listbox/nestedList/Animation.d.ts +2 -0
  14. package/dist/core/components/organisms/listbox/nestedList/NestedList.d.ts +7 -0
  15. package/dist/core/components/organisms/listbox/nestedList/index.d.ts +1 -0
  16. package/dist/core/components/organisms/listbox/reorderList/Draggable.d.ts +71 -0
  17. package/dist/core/components/organisms/listbox/reorderList/DraggableList.d.ts +2 -0
  18. package/dist/core/components/organisms/listbox/reorderList/index.d.ts +1 -0
  19. package/dist/core/components/organisms/listbox/reorderList/types.d.ts +46 -0
  20. package/dist/core/components/organisms/listbox/reorderList/utils.d.ts +10 -0
  21. package/dist/core/components/organisms/listbox/utils.d.ts +1 -0
  22. package/dist/core/index.d.ts +1 -0
  23. package/dist/core/index.type.d.ts +1 -0
  24. package/dist/index.esm.js +1044 -87
  25. package/dist/index.js +926 -4
  26. package/dist/index.js.map +1 -1
  27. package/dist/index.umd.js +1 -1
  28. package/dist/index.umd.js.br +0 -0
  29. package/dist/index.umd.js.gz +0 -0
  30. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,75 @@
1
+ ## 2.25.1 (2023-11-20)
2
+
3
+ ### Highlights
4
+
5
+ - fix(dropdown): update search input in empty option list (2cc73fe2)
6
+
7
+ ### Breaking changes
8
+
9
+ NA
10
+
11
+ ### Migration guide
12
+
13
+ NA
14
+
15
+ ### Deprecations
16
+
17
+ NA
18
+
19
+ ### Features
20
+
21
+ NA
22
+
23
+ ### Fixes
24
+
25
+ - fix(dropdown): update search input in empty option list (2cc73fe2)
26
+
27
+ ### Improvements
28
+
29
+ NA
30
+
31
+ ### Documentation
32
+
33
+ NA
34
+
35
+ ---
36
+
37
+ ## 2.25.0 (2023-11-14)
38
+
39
+ ### Highlights
40
+
41
+ - feat(listbox): add new listbox component (6aca3733)
42
+
43
+ ### Breaking changes
44
+
45
+ NA
46
+
47
+ ### Migration guide
48
+
49
+ NA
50
+
51
+ ### Deprecations
52
+
53
+ NA
54
+
55
+ ### Features
56
+
57
+ - feat(listbox): add new listbox component (6aca3733)
58
+
59
+ ### Fixes
60
+
61
+ NA
62
+
63
+ ### Improvements
64
+
65
+ NA
66
+
67
+ ### Documentation
68
+
69
+ NA
70
+
71
+ ---
72
+
1
73
  ## 2.24.0 (2023-11-07)
2
74
 
3
75
  ### Highlights
@@ -506,6 +506,18 @@
506
506
  entryRightCurve var(--duration--moderate-02) var(--entrance-expressive-curve);
507
507
  }
508
508
 
509
+ .rotate-clockwise {
510
+ transform: rotateZ(360deg);
511
+ transition: var(--duration--moderate-02) var(--standard-productive-curve);
512
+ -webkit-animation-fill-mode: forwards;
513
+ animation-fill-mode: forwards;
514
+ }
515
+
516
+ .rotate-anticlockwise {
517
+ transform: rotateZ(180deg);
518
+ transition: var(--duration--moderate-02) var(--standard-productive-curve);
519
+ }
520
+
509
521
  .ss {
510
522
  background: red;
511
523
  }
@@ -1794,7 +1806,6 @@ body {
1794
1806
  border-radius: var(--spacing-m);
1795
1807
  border: var(--spacing-xs) solid var(--secondary-light);
1796
1808
  position: relative;
1797
- overflow: hidden;
1798
1809
  background-color: var(--white);
1799
1810
  }
1800
1811
 
@@ -4549,6 +4560,123 @@ body {
4549
4560
  height: 100%;
4550
4561
  }
4551
4562
 
4563
+ .Listbox {
4564
+ margin: 0;
4565
+ padding: 0;
4566
+ display: flex;
4567
+ list-style-type: none;
4568
+ flex-direction: column;
4569
+ }
4570
+
4571
+ .Listbox-item {
4572
+ display: flex;
4573
+ align-items: center;
4574
+ padding-left: var(--spacing-2);
4575
+ padding-right: var(--spacing-2);
4576
+ }
4577
+
4578
+ .Listbox-item-wrapper:last-child > .Listbox-divider,
4579
+ .Listbox-item--draggable:last-child .Listbox-divider {
4580
+ background: transparent;
4581
+ }
4582
+
4583
+ /* Sizes */
4584
+
4585
+ .Listbox-item--tight {
4586
+ padding-top: var(--spacing-m);
4587
+ padding-bottom: var(--spacing-m);
4588
+ }
4589
+
4590
+ .Listbox-item--compressed {
4591
+ padding-top: var(--spacing);
4592
+ padding-bottom: var(--spacing);
4593
+ }
4594
+
4595
+ .Listbox-item--standard {
4596
+ padding-top: var(--spacing-l);
4597
+ padding-bottom: var(--spacing-l);
4598
+ }
4599
+
4600
+ /* Listbox type - option */
4601
+
4602
+ .Listbox-item--option {
4603
+ cursor: pointer;
4604
+ }
4605
+
4606
+ .Listbox-item--option:hover {
4607
+ background-color: var(--secondary-lightest);
4608
+ }
4609
+
4610
+ .Listbox-item--option:focus,
4611
+ .Listbox-item--option:focus-visible {
4612
+ outline: 3px auto var(--secondary-shadow);
4613
+ }
4614
+
4615
+ .Listbox-item--option:active {
4616
+ background: rgba(255, 245, 199, 0.6);
4617
+ }
4618
+
4619
+ .Listbox-item--selected {
4620
+ background: rgba(255, 245, 199, 0.6);
4621
+ }
4622
+
4623
+ /* Listbox type - resource */
4624
+
4625
+ .Listbox-item--resource {
4626
+ cursor: pointer;
4627
+ }
4628
+
4629
+ .Listbox-item--resource:hover {
4630
+ background-color: var(--secondary-lightest);
4631
+ }
4632
+
4633
+ .Listbox-item--resource:focus,
4634
+ .Listbox-item--resource:focus-visible {
4635
+ outline: 3px auto var(--secondary-shadow);
4636
+ }
4637
+
4638
+ .Listbox-item--resource:active {
4639
+ background: rgba(255, 245, 199, 0.6);
4640
+ }
4641
+
4642
+ .Listbox-item--activated {
4643
+ background: rgba(255, 245, 199, 0.6);
4644
+ }
4645
+
4646
+ /* Listbox type - description */
4647
+
4648
+ .Listbox-item--description:focus,
4649
+ .Listbox-item--description:focus-visible {
4650
+ outline: none;
4651
+ }
4652
+
4653
+ /* Listbox type - disabled */
4654
+
4655
+ .Listbox-item--disabled {
4656
+ opacity: 0.4;
4657
+ pointer-events: none;
4658
+ }
4659
+
4660
+ /* Listbox type - draggable */
4661
+
4662
+ .Listbox-item--draggable:focus {
4663
+ outline: 3px auto var(--secondary-shadow);
4664
+ }
4665
+
4666
+ .Listbox-item--drag-icon {
4667
+ cursor: -webkit-grab;
4668
+ cursor: grab;
4669
+ margin-right: var(--spacing);
4670
+ }
4671
+
4672
+ .Listbox-item--drag-icon:hover {
4673
+ color: var(--inverse);
4674
+ }
4675
+
4676
+ .Listbox-item--drag-icon:active {
4677
+ color: var(--primary);
4678
+ }
4679
+
4552
4680
  .Message {
4553
4681
  display: flex;
4554
4682
  flex-direction: row;