@koobiq/react-components 0.24.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ContenPanel/ContentPanel.d.ts +3 -2
- package/dist/components/ContenPanel/ContentPanel.js +9 -9
- package/dist/components/Divider/Divider.d.ts +14 -4
- package/dist/components/Divider/Divider.js +23 -8
- package/dist/components/Divider/types.d.ts +4 -3
- package/dist/components/Navbar/components/NavbarItem.d.ts +4 -0
- package/dist/components/Navbar/components/NavbarItem.js +11 -1
- package/dist/components/SearchInput/SearchInput.d.ts +1 -1
- package/dist/components/Select/Select.d.ts +4 -0
- package/dist/components/SelectNext/Select.d.ts +13 -0
- package/dist/components/SelectNext/Select.js +258 -0
- package/dist/components/SelectNext/Select.module.css.js +23 -0
- package/dist/components/SelectNext/SelectContext.d.ts +2 -0
- package/dist/components/SelectNext/SelectContext.js +5 -0
- package/dist/components/SelectNext/components/SelectList/SelectList.d.ts +37 -0
- package/dist/components/SelectNext/components/SelectList/SelectList.js +131 -0
- package/dist/components/SelectNext/components/SelectList/SelectList.module.css.js +11 -0
- package/dist/components/SelectNext/components/SelectList/index.d.ts +1 -0
- package/dist/components/SelectNext/components/SelectOption/SelectOption.d.ts +37 -0
- package/dist/components/SelectNext/components/SelectOption/SelectOption.js +48 -0
- package/dist/components/SelectNext/components/SelectOption/index.d.ts +1 -0
- package/dist/components/SelectNext/components/SelectSection/SelectSection.d.ts +9 -0
- package/dist/components/SelectNext/components/SelectSection/SelectSection.js +51 -0
- package/dist/components/SelectNext/components/SelectSection/index.d.ts +1 -0
- package/dist/components/SelectNext/components/Tag/Tag.d.ts +18 -0
- package/dist/components/SelectNext/components/Tag/Tag.js +67 -0
- package/dist/components/SelectNext/components/Tag/index.d.ts +1 -0
- package/dist/components/SelectNext/components/Tag/intl.json.js +7 -0
- package/dist/components/SelectNext/components/Tag/utils.d.ts +3 -0
- package/dist/components/SelectNext/components/Tag/utils.js +9 -0
- package/dist/components/SelectNext/components/TagGroup/TagGroup.d.ts +13 -0
- package/dist/components/SelectNext/components/TagGroup/TagGroup.js +25 -0
- package/dist/components/SelectNext/components/TagGroup/TagGroup.module.css.js +20 -0
- package/dist/components/SelectNext/components/TagGroup/TagGroupMultiline.d.ts +3 -0
- package/dist/components/SelectNext/components/TagGroup/TagGroupMultiline.js +44 -0
- package/dist/components/SelectNext/components/TagGroup/TagGroupResponsive.d.ts +3 -0
- package/dist/components/SelectNext/components/TagGroup/TagGroupResponsive.js +65 -0
- package/dist/components/SelectNext/components/TagGroup/index.d.ts +1 -0
- package/dist/components/SelectNext/components/TagGroup/utils.d.ts +1 -0
- package/dist/components/SelectNext/components/TagGroup/utils.js +4 -0
- package/dist/components/SelectNext/components/index.d.ts +5 -0
- package/dist/components/SelectNext/index.d.ts +2 -0
- package/dist/components/SelectNext/intl.d.ts +2 -0
- package/dist/components/SelectNext/intl.js +21 -0
- package/dist/components/SelectNext/types.d.ts +99 -0
- package/dist/components/SelectNext/types.js +12 -0
- package/dist/components/SelectNext/utils.d.ts +9 -0
- package/dist/components/SelectNext/utils.js +26 -0
- package/dist/components/index.d.ts +2 -1
- package/dist/index.js +8 -1
- package/dist/style.css +172 -43
- package/package.json +5 -5
|
@@ -27,6 +27,7 @@ export * from './Tooltip';
|
|
|
27
27
|
export * from './List';
|
|
28
28
|
export * from './AnimatedIcon';
|
|
29
29
|
export * from './Select';
|
|
30
|
+
export * from './SelectNext';
|
|
30
31
|
export * from './Divider';
|
|
31
32
|
export * from './Menu';
|
|
32
33
|
export * from './ButtonToggleGroup';
|
|
@@ -47,4 +48,4 @@ export * from './ContenPanel';
|
|
|
47
48
|
export * from './Navbar';
|
|
48
49
|
export * from './layout';
|
|
49
50
|
export { useListData, useAsyncList, type ListData, type ListOptions, type AsyncListData, type AsyncListOptions, type AsyncListLoadFunction, type AsyncListLoadOptions, type TimeValue, type DateValue, } from '@koobiq/react-primitives';
|
|
50
|
-
export { useRouter, useLocale, useFilter, type Locale, type SortDescriptor, type Selection, RouterProvider, useDateFormatter, } from '@koobiq/react-core';
|
|
51
|
+
export { useRouter, useLocale, useFilter, type Locale, type Key, type SortDescriptor, type Selection, RouterProvider, useDateFormatter, } from '@koobiq/react-core';
|
package/dist/index.js
CHANGED
|
@@ -75,7 +75,9 @@ import { ListItemText } from "./components/List/components/ListItemText/ListItem
|
|
|
75
75
|
import { AnimatedIcon } from "./components/AnimatedIcon/AnimatedIcon.js";
|
|
76
76
|
import { Select } from "./components/Select/Select.js";
|
|
77
77
|
import { selectPropLabelAlign, selectPropLabelPlacement, selectPropSelectedTagsOverflow } from "./components/Select/types.js";
|
|
78
|
-
import {
|
|
78
|
+
import { SelectNext } from "./components/SelectNext/Select.js";
|
|
79
|
+
import { selectNextPropLabelAlign, selectNextPropLabelPlacement, selectNextPropSelectedTagsOverflow } from "./components/SelectNext/types.js";
|
|
80
|
+
import { Divider, DividerNode } from "./components/Divider/Divider.js";
|
|
79
81
|
import { dividerPropDisplay } from "./components/Divider/types.js";
|
|
80
82
|
import { Menu } from "./components/Menu/Menu.js";
|
|
81
83
|
import { ButtonToggleGroup } from "./components/ButtonToggleGroup/ButtonToggleGroup.js";
|
|
@@ -145,6 +147,7 @@ export {
|
|
|
145
147
|
DatePicker,
|
|
146
148
|
DatePickerRender,
|
|
147
149
|
Divider,
|
|
150
|
+
DividerNode,
|
|
148
151
|
FlexBox,
|
|
149
152
|
Form,
|
|
150
153
|
FormContext,
|
|
@@ -191,6 +194,7 @@ export {
|
|
|
191
194
|
RouterProvider,
|
|
192
195
|
SearchInput,
|
|
193
196
|
Select,
|
|
197
|
+
SelectNext,
|
|
194
198
|
SidePanel,
|
|
195
199
|
SidePanelContent,
|
|
196
200
|
SidePanelFooter,
|
|
@@ -273,6 +277,9 @@ export {
|
|
|
273
277
|
searchInputPropLabelAlign,
|
|
274
278
|
searchInputPropLabelPlacement,
|
|
275
279
|
searchInputPropVariant,
|
|
280
|
+
selectNextPropLabelAlign,
|
|
281
|
+
selectNextPropLabelPlacement,
|
|
282
|
+
selectNextPropSelectedTagsOverflow,
|
|
276
283
|
selectPropLabelAlign,
|
|
277
284
|
selectPropLabelPlacement,
|
|
278
285
|
selectPropSelectedTagsOverflow,
|
package/dist/style.css
CHANGED
|
@@ -3323,8 +3323,9 @@
|
|
|
3323
3323
|
display: flex;
|
|
3324
3324
|
}
|
|
3325
3325
|
.kbq-divider-16da20 {
|
|
3326
|
+
--kbq-divider-color: var(--kbq-line-contrast-less);
|
|
3326
3327
|
border-style: solid;
|
|
3327
|
-
border-color: var(--kbq-
|
|
3328
|
+
border-color: var(--kbq-divider-color);
|
|
3328
3329
|
flex-shrink: 0;
|
|
3329
3330
|
margin: 0;
|
|
3330
3331
|
}
|
|
@@ -3585,6 +3586,167 @@
|
|
|
3585
3586
|
--tag-outline-color: none;
|
|
3586
3587
|
cursor: not-allowed;
|
|
3587
3588
|
}
|
|
3589
|
+
.kbq-select-addon-1077d8 {
|
|
3590
|
+
pointer-events: none;
|
|
3591
|
+
}
|
|
3592
|
+
|
|
3593
|
+
.kbq-select-addon-1077d8 > :not(.kbq-select-chevron-5918a1) {
|
|
3594
|
+
pointer-events: all;
|
|
3595
|
+
}
|
|
3596
|
+
|
|
3597
|
+
.kbq-select-chevron-5918a1 {
|
|
3598
|
+
inline-size: var(--kbq-size-xxl);
|
|
3599
|
+
block-size: var(--kbq-size-xxl);
|
|
3600
|
+
margin-inline-end: calc(-1 * var(--kbq-size-s));
|
|
3601
|
+
padding-inline-end: var(--kbq-size-xxs);
|
|
3602
|
+
display: inline-flex;
|
|
3603
|
+
}
|
|
3604
|
+
|
|
3605
|
+
.kbq-select-chevron-5918a1 > svg {
|
|
3606
|
+
margin: auto;
|
|
3607
|
+
}
|
|
3608
|
+
|
|
3609
|
+
.kbq-select-body-698617 {
|
|
3610
|
+
inline-size: 100%;
|
|
3611
|
+
}
|
|
3612
|
+
|
|
3613
|
+
.kbq-select-body-698617 > :first-child + * {
|
|
3614
|
+
margin: 0;
|
|
3615
|
+
margin-block-start: var(--kbq-size-xs);
|
|
3616
|
+
}
|
|
3617
|
+
|
|
3618
|
+
.kbq-select-body-698617 > :first-child + * + * {
|
|
3619
|
+
margin: 0;
|
|
3620
|
+
margin-block-start: var(--kbq-size-xxs);
|
|
3621
|
+
}
|
|
3622
|
+
|
|
3623
|
+
.kbq-select-list-51ca7a {
|
|
3624
|
+
inline-size: 100%;
|
|
3625
|
+
}
|
|
3626
|
+
|
|
3627
|
+
.kbq-select-list-51ca7a:empty {
|
|
3628
|
+
display: none;
|
|
3629
|
+
}
|
|
3630
|
+
|
|
3631
|
+
.kbq-select-popover-756d4e {
|
|
3632
|
+
border-radius: var(--kbq-size-s);
|
|
3633
|
+
opacity: 0;
|
|
3634
|
+
transform: translateY(-8px);
|
|
3635
|
+
}
|
|
3636
|
+
|
|
3637
|
+
.kbq-select-popover-756d4e:has(.kbq-select-list-51ca7a:only-child:empty) {
|
|
3638
|
+
opacity: 0;
|
|
3639
|
+
}
|
|
3640
|
+
|
|
3641
|
+
.kbq-select-popover-756d4e[data-transition="entering"], .kbq-select-popover-756d4e[data-transition="entered"] {
|
|
3642
|
+
opacity: 1;
|
|
3643
|
+
transform: translateY(0);
|
|
3644
|
+
}
|
|
3645
|
+
|
|
3646
|
+
.kbq-select-popover-756d4e[data-transition="exiting"], .kbq-select-popover-756d4e[data-transition="exited"] {
|
|
3647
|
+
opacity: 0;
|
|
3648
|
+
transform: translateY(-8px);
|
|
3649
|
+
}
|
|
3650
|
+
|
|
3651
|
+
.kbq-select-clearButton-8498d2 {
|
|
3652
|
+
margin-inline-end: var(--kbq-size-xxs);
|
|
3653
|
+
}
|
|
3654
|
+
.kbq-selectlist-68b1db {
|
|
3655
|
+
flex-direction: column;
|
|
3656
|
+
inline-size: 100%;
|
|
3657
|
+
display: flex;
|
|
3658
|
+
}
|
|
3659
|
+
|
|
3660
|
+
.kbq-selectlist-search-800542 {
|
|
3661
|
+
padding-block: var(--kbq-size-xxs);
|
|
3662
|
+
padding-inline: var(--kbq-size-3xs);
|
|
3663
|
+
box-sizing: border-box;
|
|
3664
|
+
}
|
|
3665
|
+
.kbq-searchinput-input-f896b1::-webkit-search-decoration {
|
|
3666
|
+
appearance: none;
|
|
3667
|
+
}
|
|
3668
|
+
|
|
3669
|
+
.kbq-searchinput-input-f896b1::-webkit-search-cancel-button {
|
|
3670
|
+
appearance: none;
|
|
3671
|
+
}
|
|
3672
|
+
|
|
3673
|
+
.kbq-searchinput-input-f896b1::-webkit-search-results-button {
|
|
3674
|
+
appearance: none;
|
|
3675
|
+
}
|
|
3676
|
+
|
|
3677
|
+
.kbq-searchinput-input-f896b1::-webkit-search-results-decoration {
|
|
3678
|
+
appearance: none;
|
|
3679
|
+
}
|
|
3680
|
+
|
|
3681
|
+
.kbq-searchinput-startAddon-08187f {
|
|
3682
|
+
pointer-events: none;
|
|
3683
|
+
}
|
|
3684
|
+
|
|
3685
|
+
.kbq-searchinput-startAddon-08187f > :not(.kbq-searchinput-searchIcon-8bce0f) {
|
|
3686
|
+
pointer-events: all;
|
|
3687
|
+
}
|
|
3688
|
+
|
|
3689
|
+
.kbq-searchinput-clearButton-71f872 {
|
|
3690
|
+
margin-inline-end: calc(-1 * var(--kbq-size-xxs));
|
|
3691
|
+
}
|
|
3692
|
+
|
|
3693
|
+
.kbq-searchinput-body-972749 {
|
|
3694
|
+
inline-size: 100%;
|
|
3695
|
+
min-inline-size: fit-content;
|
|
3696
|
+
}
|
|
3697
|
+
|
|
3698
|
+
.kbq-searchinput-body-972749 > :first-child + * {
|
|
3699
|
+
margin: 0;
|
|
3700
|
+
margin-block-start: var(--kbq-size-xs);
|
|
3701
|
+
}
|
|
3702
|
+
|
|
3703
|
+
.kbq-searchinput-body-972749 > :first-child + * + * {
|
|
3704
|
+
margin: 0;
|
|
3705
|
+
margin-block-start: var(--kbq-size-xxs);
|
|
3706
|
+
}
|
|
3707
|
+
.kbq-taggroup-container-5d455a {
|
|
3708
|
+
inline-size: calc(100% + var(--kbq-size-s));
|
|
3709
|
+
margin-inline-start: calc(-1 * var(--kbq-size-s));
|
|
3710
|
+
display: flex;
|
|
3711
|
+
}
|
|
3712
|
+
|
|
3713
|
+
.kbq-taggroup-hasStartAddon-eb7d88 {
|
|
3714
|
+
inline-size: 100%;
|
|
3715
|
+
margin-inline-start: unset;
|
|
3716
|
+
}
|
|
3717
|
+
|
|
3718
|
+
.kbq-taggroup-b97495 {
|
|
3719
|
+
gap: var(--kbq-size-xxs);
|
|
3720
|
+
inline-size: 100%;
|
|
3721
|
+
padding-block: var(--kbq-size-xxs);
|
|
3722
|
+
flex-wrap: wrap;
|
|
3723
|
+
display: flex;
|
|
3724
|
+
overflow: hidden;
|
|
3725
|
+
}
|
|
3726
|
+
|
|
3727
|
+
.kbq-taggroup-b97495[data-limit-tags="responsive"] {
|
|
3728
|
+
gap: unset;
|
|
3729
|
+
flex-wrap: nowrap;
|
|
3730
|
+
}
|
|
3731
|
+
|
|
3732
|
+
.kbq-taggroup-b97495[data-limit-tags="responsive"] .kbq-taggroup-tag-262753 {
|
|
3733
|
+
margin-inline-end: var(--kbq-size-xxs);
|
|
3734
|
+
}
|
|
3735
|
+
|
|
3736
|
+
.kbq-taggroup-more-db5a34 {
|
|
3737
|
+
text-align: end;
|
|
3738
|
+
white-space: nowrap;
|
|
3739
|
+
box-sizing: border-box;
|
|
3740
|
+
padding: var(--kbq-size-3xs) calc(var(--kbq-size-xs) + var(--kbq-size-xxs)) var(--kbq-size-3xs) var(--kbq-size-xxs);
|
|
3741
|
+
flex: 0 0 60px;
|
|
3742
|
+
align-self: center;
|
|
3743
|
+
}
|
|
3744
|
+
|
|
3745
|
+
:is(.kbq-taggroup-tag-262753, .kbq-taggroup-more-db5a34)[aria-hidden="true"] {
|
|
3746
|
+
visibility: hidden;
|
|
3747
|
+
position: absolute;
|
|
3748
|
+
inset-inline-start: -300vw;
|
|
3749
|
+
}
|
|
3588
3750
|
.kbq-menu-popover-e1857c {
|
|
3589
3751
|
border-radius: var(--kbq-size-s);
|
|
3590
3752
|
min-inline-size: 200px;
|
|
@@ -4345,48 +4507,6 @@
|
|
|
4345
4507
|
margin: 0;
|
|
4346
4508
|
margin-block-start: var(--kbq-size-xxs);
|
|
4347
4509
|
}
|
|
4348
|
-
.kbq-searchinput-input-f896b1::-webkit-search-decoration {
|
|
4349
|
-
appearance: none;
|
|
4350
|
-
}
|
|
4351
|
-
|
|
4352
|
-
.kbq-searchinput-input-f896b1::-webkit-search-cancel-button {
|
|
4353
|
-
appearance: none;
|
|
4354
|
-
}
|
|
4355
|
-
|
|
4356
|
-
.kbq-searchinput-input-f896b1::-webkit-search-results-button {
|
|
4357
|
-
appearance: none;
|
|
4358
|
-
}
|
|
4359
|
-
|
|
4360
|
-
.kbq-searchinput-input-f896b1::-webkit-search-results-decoration {
|
|
4361
|
-
appearance: none;
|
|
4362
|
-
}
|
|
4363
|
-
|
|
4364
|
-
.kbq-searchinput-startAddon-08187f {
|
|
4365
|
-
pointer-events: none;
|
|
4366
|
-
}
|
|
4367
|
-
|
|
4368
|
-
.kbq-searchinput-startAddon-08187f > :not(.kbq-searchinput-searchIcon-8bce0f) {
|
|
4369
|
-
pointer-events: all;
|
|
4370
|
-
}
|
|
4371
|
-
|
|
4372
|
-
.kbq-searchinput-clearButton-71f872 {
|
|
4373
|
-
margin-inline-end: calc(-1 * var(--kbq-size-xxs));
|
|
4374
|
-
}
|
|
4375
|
-
|
|
4376
|
-
.kbq-searchinput-body-972749 {
|
|
4377
|
-
inline-size: 100%;
|
|
4378
|
-
min-inline-size: fit-content;
|
|
4379
|
-
}
|
|
4380
|
-
|
|
4381
|
-
.kbq-searchinput-body-972749 > :first-child + * {
|
|
4382
|
-
margin: 0;
|
|
4383
|
-
margin-block-start: var(--kbq-size-xs);
|
|
4384
|
-
}
|
|
4385
|
-
|
|
4386
|
-
.kbq-searchinput-body-972749 > :first-child + * + * {
|
|
4387
|
-
margin: 0;
|
|
4388
|
-
margin-block-start: var(--kbq-size-xxs);
|
|
4389
|
-
}
|
|
4390
4510
|
.kbq-form-40d37e {
|
|
4391
4511
|
--gap-y: var(--kbq-size-xl);
|
|
4392
4512
|
--label-inline-size: ;
|
|
@@ -5274,6 +5394,7 @@ body[data-resizing="true"] .kbq-contentpanel-3541ee {
|
|
|
5274
5394
|
.kbq-navbar-navbar-9d3c75 {
|
|
5275
5395
|
background-color: var(--kbq-background-bg-tertiary);
|
|
5276
5396
|
border-inline-end: 1px solid var(--kbq-line-contrast-less);
|
|
5397
|
+
box-sizing: content-box;
|
|
5277
5398
|
flex-direction: column;
|
|
5278
5399
|
block-size: 100%;
|
|
5279
5400
|
min-inline-size: 240px;
|
|
@@ -5316,6 +5437,10 @@ body[data-resizing="true"] .kbq-contentpanel-3541ee {
|
|
|
5316
5437
|
padding: var(--kbq-size-xxs);
|
|
5317
5438
|
}
|
|
5318
5439
|
|
|
5440
|
+
.kbq-navbar-appItem-08f75b .kbq-navbar-itemIcon-50a6ed {
|
|
5441
|
+
min-block-size: 32px;
|
|
5442
|
+
}
|
|
5443
|
+
|
|
5319
5444
|
.kbq-navbar-item-1b3022 {
|
|
5320
5445
|
block-size: 40px;
|
|
5321
5446
|
inline-size: 100%;
|
|
@@ -5327,6 +5452,10 @@ body[data-resizing="true"] .kbq-contentpanel-3541ee {
|
|
|
5327
5452
|
position: relative;
|
|
5328
5453
|
}
|
|
5329
5454
|
|
|
5455
|
+
.kbq-navbar-item-1b3022[data-selected="true"] {
|
|
5456
|
+
--list-item-bg-color: var(--kbq-states-background-transparent-active);
|
|
5457
|
+
}
|
|
5458
|
+
|
|
5330
5459
|
.kbq-navbar-navbar-9d3c75[data-collapsed="true"] .kbq-navbar-item-1b3022 {
|
|
5331
5460
|
box-sizing: border-box;
|
|
5332
5461
|
padding: var(--kbq-size-xxs);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koobiq/react-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"@koobiq/design-tokens": "^3.15.0",
|
|
29
29
|
"@types/react-transition-group": "^4.4.12",
|
|
30
30
|
"react-transition-group": "^4.4.5",
|
|
31
|
-
"@koobiq/logger": "0.
|
|
32
|
-
"@koobiq/react-
|
|
33
|
-
"@koobiq/react-
|
|
34
|
-
"@koobiq/react-core": "0.
|
|
31
|
+
"@koobiq/logger": "0.25.0",
|
|
32
|
+
"@koobiq/react-primitives": "0.25.0",
|
|
33
|
+
"@koobiq/react-icons": "0.25.0",
|
|
34
|
+
"@koobiq/react-core": "0.25.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@koobiq/design-tokens": "^3.15.0",
|