nitro-web 0.2.16 → 0.2.17
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/components/partials/form/select.tsx +4 -0
- package/package.json +1 -1
- package/util.js +1 -1
|
@@ -267,6 +267,10 @@ function SelectBase<IsMulti extends boolean = false>({
|
|
|
267
267
|
outline: undefined,
|
|
268
268
|
transition: 'none',
|
|
269
269
|
}),
|
|
270
|
+
input: (base) => ({
|
|
271
|
+
...base,
|
|
272
|
+
visibility: 'inherit', // RS hardcodes to visblr, inherit visibility from ancestor
|
|
273
|
+
}),
|
|
270
274
|
}}
|
|
271
275
|
// menuIsOpen={true}
|
|
272
276
|
// isSearchable={false}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nitro-web",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.17",
|
|
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 🚀",
|
package/util.js
CHANGED
|
@@ -212,7 +212,7 @@ export function capitalise (str) {
|
|
|
212
212
|
* @returns {string}
|
|
213
213
|
*/
|
|
214
214
|
export function currency (cents, options) {
|
|
215
|
-
const { currency, decimals, decimalsMinimum, prefix, suffix } = options || { currency: 'usd' }
|
|
215
|
+
const { currency='usd', decimals, decimalsMinimum, prefix, suffix } = options || { currency: 'usd' }
|
|
216
216
|
const currencyObject = currencies[/**@type {keyof typeof currencies}*/(currency)]
|
|
217
217
|
|
|
218
218
|
if (currency && !currencyObject) {
|