nitro-web 0.2.18 → 0.2.19
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.
|
@@ -161,7 +161,7 @@ function SelectBase<IsMulti extends boolean = false>({
|
|
|
161
161
|
}, [classNamesProp, isCombobox])
|
|
162
162
|
|
|
163
163
|
return (
|
|
164
|
-
<div css={style} class={'mt-2.5 mb-6 ' + twMerge(`mt-input-before mb-input-after nitro-select ${className || ''}`)}
|
|
164
|
+
<div css={style} class={'mt-2.5 mb-6 min-w-0 ' + twMerge(`mt-input-before mb-input-after nitro-select ${className || ''}`)}
|
|
165
165
|
// Combobox: clicking the (already focused) control reopens the menu after a selection
|
|
166
166
|
onMouseDown={isCombobox ? () => setPickedFromMenu(false) : undefined}>
|
|
167
167
|
<ReactSelect
|
|
@@ -10,20 +10,20 @@ import React from 'react'
|
|
|
10
10
|
|
|
11
11
|
const perPage = 10
|
|
12
12
|
const allGroups = [
|
|
13
|
-
'Links',
|
|
14
|
-
'Dropdowns',
|
|
15
|
-
'Filters',
|
|
16
|
-
'Button Colors & Sizes',
|
|
17
|
-
'Button Icons',
|
|
18
|
-
'Loading Elements',
|
|
19
|
-
'Varients',
|
|
13
|
+
// 'Links',
|
|
14
|
+
// 'Dropdowns',
|
|
15
|
+
// 'Filters',
|
|
16
|
+
// 'Button Colors & Sizes',
|
|
17
|
+
// 'Button Icons',
|
|
18
|
+
// 'Loading Elements',
|
|
19
|
+
// 'Varients',
|
|
20
20
|
'Selects',
|
|
21
|
-
'Inputs',
|
|
22
|
-
'Date Inputs',
|
|
23
|
-
'File Inputs & Calendar & Time',
|
|
24
|
-
'Tables',
|
|
25
|
-
'Modals & Notifications',
|
|
26
|
-
'Custom Components',
|
|
21
|
+
// 'Inputs',
|
|
22
|
+
// 'Date Inputs',
|
|
23
|
+
// 'File Inputs & Calendar & Time',
|
|
24
|
+
// 'Tables',
|
|
25
|
+
// 'Modals & Notifications',
|
|
26
|
+
// 'Custom Components',
|
|
27
27
|
] as const
|
|
28
28
|
|
|
29
29
|
const statusColors = function(status: string) {
|
|
@@ -440,7 +440,7 @@ export function Styleguide({ className, elements, children, currencies, groups }
|
|
|
440
440
|
<Select
|
|
441
441
|
name="colorsMulti"
|
|
442
442
|
isMulti={true}
|
|
443
|
-
maxLines={1}
|
|
443
|
+
// maxLines={1}
|
|
444
444
|
state={state}
|
|
445
445
|
options={useMemo(() => [
|
|
446
446
|
{ value: 'blue', label: 'Blue' },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nitro-web",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.19",
|
|
4
4
|
"repository": "github:boycce/nitro-web",
|
|
5
5
|
"homepage": "https://boycce.github.io/nitro-web/",
|
|
6
6
|
"description": "Nitro is a battle-tested, modular base project to turbocharge your projects, styled using Tailwind 🚀",
|