@rark-ui/themes 1.0.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/.tsbuildinfo +1 -0
- package/dist/default/crafts/addons/index.d.ts +2 -0
- package/dist/default/crafts/addons/index.js +2 -0
- package/dist/default/crafts/addons/v-title.d.ts +47 -0
- package/dist/default/crafts/addons/v-title.js +33 -0
- package/dist/default/crafts/addons/virtual.d.ts +112 -0
- package/dist/default/crafts/addons/virtual.js +86 -0
- package/dist/default/crafts/core/badge.d.ts +44 -0
- package/dist/default/crafts/core/badge.js +48 -0
- package/dist/default/crafts/core/button.d.ts +107 -0
- package/dist/default/crafts/core/button.js +60 -0
- package/dist/default/crafts/core/checkbox.d.ts +62 -0
- package/dist/default/crafts/core/checkbox.js +70 -0
- package/dist/default/crafts/core/collapsible.d.ts +111 -0
- package/dist/default/crafts/core/collapsible.js +55 -0
- package/dist/default/crafts/core/date-picker.d.ts +369 -0
- package/dist/default/crafts/core/date-picker.js +242 -0
- package/dist/default/crafts/core/dialog.d.ts +116 -0
- package/dist/default/crafts/core/dialog.js +95 -0
- package/dist/default/crafts/core/editable.d.ts +197 -0
- package/dist/default/crafts/core/editable.js +95 -0
- package/dist/default/crafts/core/floating-panel.d.ts +143 -0
- package/dist/default/crafts/core/floating-panel.js +63 -0
- package/dist/default/crafts/core/hotkey.d.ts +149 -0
- package/dist/default/crafts/core/hotkey.js +16 -0
- package/dist/default/crafts/core/hover-card.d.ts +50 -0
- package/dist/default/crafts/core/hover-card.js +75 -0
- package/dist/default/crafts/core/icon.d.ts +8 -0
- package/dist/default/crafts/core/icon.js +7 -0
- package/dist/default/crafts/core/index.d.ts +33 -0
- package/dist/default/crafts/core/index.js +33 -0
- package/dist/default/crafts/core/input.d.ts +77 -0
- package/dist/default/crafts/core/input.js +45 -0
- package/dist/default/crafts/core/menu.d.ts +71 -0
- package/dist/default/crafts/core/menu.js +111 -0
- package/dist/default/crafts/core/message.d.ts +131 -0
- package/dist/default/crafts/core/message.js +58 -0
- package/dist/default/crafts/core/number-input.d.ts +83 -0
- package/dist/default/crafts/core/number-input.js +42 -0
- package/dist/default/crafts/core/pagination.d.ts +190 -0
- package/dist/default/crafts/core/pagination.js +100 -0
- package/dist/default/crafts/core/popover.d.ts +104 -0
- package/dist/default/crafts/core/popover.js +66 -0
- package/dist/default/crafts/core/progress.d.ts +110 -0
- package/dist/default/crafts/core/progress.js +121 -0
- package/dist/default/crafts/core/radio-group.d.ts +119 -0
- package/dist/default/crafts/core/radio-group.js +92 -0
- package/dist/default/crafts/core/rating-group.d.ts +71 -0
- package/dist/default/crafts/core/rating-group.js +38 -0
- package/dist/default/crafts/core/scroll-area.d.ts +74 -0
- package/dist/default/crafts/core/scroll-area.js +109 -0
- package/dist/default/crafts/core/select.d.ts +146 -0
- package/dist/default/crafts/core/select.js +114 -0
- package/dist/default/crafts/core/skeleton.d.ts +35 -0
- package/dist/default/crafts/core/skeleton.js +15 -0
- package/dist/default/crafts/core/slider.d.ts +167 -0
- package/dist/default/crafts/core/slider.js +85 -0
- package/dist/default/crafts/core/spin.d.ts +102 -0
- package/dist/default/crafts/core/spin.js +56 -0
- package/dist/default/crafts/core/switch.d.ts +92 -0
- package/dist/default/crafts/core/switch.js +66 -0
- package/dist/default/crafts/core/tabs.d.ts +119 -0
- package/dist/default/crafts/core/tabs.js +116 -0
- package/dist/default/crafts/core/tags-input.d.ts +158 -0
- package/dist/default/crafts/core/tags-input.js +72 -0
- package/dist/default/crafts/core/toast.d.ts +137 -0
- package/dist/default/crafts/core/toast.js +62 -0
- package/dist/default/crafts/core/toggle-group.d.ts +92 -0
- package/dist/default/crafts/core/toggle-group.js +49 -0
- package/dist/default/crafts/core/toggle.d.ts +29 -0
- package/dist/default/crafts/core/toggle.js +29 -0
- package/dist/default/crafts/core/tooltip.d.ts +86 -0
- package/dist/default/crafts/core/tooltip.js +55 -0
- package/dist/default/crafts/core/tree.d.ts +208 -0
- package/dist/default/crafts/core/tree.js +145 -0
- package/dist/default/crafts/index.d.ts +4 -0
- package/dist/default/crafts/index.js +2 -0
- package/dist/default/index.d.ts +4 -0
- package/dist/default/index.js +3 -0
- package/dist/razer/crafts/addons/index.d.ts +1 -0
- package/dist/razer/crafts/addons/index.js +1 -0
- package/dist/razer/crafts/core/index.d.ts +15 -0
- package/dist/razer/crafts/core/index.js +15 -0
- package/dist/razer/crafts/index.d.ts +4 -0
- package/dist/razer/crafts/index.js +2 -0
- package/dist/razer/index.css +5233 -0
- package/dist/razer/index.d.ts +4 -0
- package/dist/razer/index.js +3 -0
- package/dist/shared/utils/cn.d.ts +1 -0
- package/dist/shared/utils/cn.js +1 -0
- package/dist/shared/utils/tv.d.ts +37 -0
- package/dist/shared/utils/tv.js +29 -0
- package/package.json +47 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.full.d.ts","../node_modules/tailwind-merge/dist/types.d.ts","../node_modules/tailwind-variants/dist/config.d.ts","../node_modules/tailwind-variants/dist/types.d.ts","../node_modules/tailwind-variants/dist/index.d.ts","../src/shared/utils/cn.ts","../src/shared/utils/tv.ts","../src/default/crafts/addons/v-title.ts","../src/default/crafts/addons/virtual.ts","../src/default/crafts/addons/index.ts","../src/default/crafts/core/badge.ts","../src/default/crafts/core/button.ts","../src/default/crafts/core/checkbox.ts","../src/default/crafts/core/collapsible.ts","../src/default/crafts/core/date-picker.ts","../src/default/crafts/core/dialog.ts","../src/default/crafts/core/input.ts","../src/default/crafts/core/editable.ts","../src/default/crafts/core/floating-panel.ts","../src/default/crafts/core/hotkey.ts","../src/default/crafts/core/hover-card.ts","../src/default/crafts/core/icon.ts","../src/default/crafts/core/menu.ts","../src/default/crafts/core/message.ts","../src/default/crafts/core/number-input.ts","../src/default/crafts/core/pagination.ts","../src/default/crafts/core/popover.ts","../src/default/crafts/core/progress.ts","../src/default/crafts/core/radio-group.ts","../src/default/crafts/core/rating-group.ts","../src/default/crafts/core/scroll-area.ts","../src/default/crafts/core/select.ts","../src/default/crafts/core/skeleton.ts","../src/default/crafts/core/slider.ts","../src/default/crafts/core/spin.ts","../src/default/crafts/core/switch.ts","../src/default/crafts/core/tabs.ts","../src/default/crafts/core/tags-input.ts","../src/default/crafts/core/toast.ts","../src/default/crafts/core/toggle.ts","../src/default/crafts/core/toggle-group.ts","../src/default/crafts/core/tooltip.ts","../src/default/crafts/core/tree.ts","../src/default/crafts/core/index.ts","../src/default/crafts/index.ts","../src/default/index.ts","../src/razer/crafts/addons/index.ts","../src/razer/crafts/core/index.ts","../src/razer/crafts/index.ts","../src/razer/index.ts"],"fileIdsList":[[52],[53,54],[52,53],[58,59],[57],[57,67],[61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93],[60,94],[56,57,95],[97,98],[56,57,99],[55]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"1305d1e76ca44e30fb8b2b8075fa522b83f60c0bcf5d4326a9d2cf79b53724f8","impliedFormat":1},{"version":"51954e948be6a5b728fcfaf561f12331b4f54f068934c77adfc8f70eea17d285","impliedFormat":1},{"version":"18443cbae1d44789ab133e1e4e443796bbe2d9c7eeb469747b239677915d0ae9","impliedFormat":99},{"version":"ea979cd7b2700d8fd993b68f3bc04ebe1b53d242161af9f71860889ea32e4b9a","impliedFormat":99},{"version":"59e3b57a4d02faf2c6aea0de70996bfc3702a18d8f44cc13ed3f236ccdafacbe","impliedFormat":99},{"version":"4c25ad4dba0f9fd3e3aee76ce9c87b2cdf27da3f9b4d3f9d1d8100f30f061b0d","signature":"875e07e21d3d7733b0e366e9c8dbf4760e07c0d1653ae4b60350b1457ef2611b"},{"version":"5affb812d64953d20096726d745620bd950ac1e48b506fea0d84d9edd232b6e5","signature":"9c424ca8b5948e60e14e8702ea2e0ee3d53d72762ccf652b4098d25c9db16503"},{"version":"1c1e7e9dc44a93f7774abe2f4f65838844f7fff4d0bf02b5065cc2b5c4382812","signature":"719e52db18bf43de3e515f62ceb9db424d02d68b8886a64613d9ce2506fb9285"},{"version":"9d81b3269ab795c3dcca82a40a6642314e5b3b6b1b05e57726bef6bd15c714d7","signature":"c4621d8618aa6a327c781b4ee6b334280b4a03d77dbd6e7170ce6ed4a7be735d"},{"version":"ce25777b934105ad7f03f100daf82694e80463ae5358b68f69b021f5877e7b95","signature":"806b3626868650111c4cd20719699630a543c7a9ccda360ec46ab5e292346a51"},{"version":"5a591cc88444d555328b55db58ebc79ed9a0f1a9dc6e8e30bde70c38401fd3e5","signature":"7341289429532f785adf04b394271d254289bb8edf907ba72dbc268533a888d6"},{"version":"faca297d7be8269947c54a1a7c39b34251642c8a403d1df7f1af5af8a4b068a6","signature":"a7913878dbe143f0bd8f5e394e66274c43e9b462ec0df91c5dfd5d28787e96be"},{"version":"11f81ad858c31403de6020d70a7245f789c2073f71cc68d9b7c8cf5a8ec9b039","signature":"abea092db35c6abc3bbafbfb215d903a12d197b0f128913d8d451a268ac548fa"},{"version":"4dab58601955492feddd27c8f66dd8dddbfd732431d68867a80b22db91f4b874","signature":"2b242ec722adb236565c93a8ca7c909f717f35c03eec926b4a705e71f4fff7fd"},{"version":"408f597419d4f3a5189be5f1d31d2810271be4e887822935a05cae81ec86fac7","signature":"4e82b2de612d547b4dea7812f9e9cf8fff3ed020213b4f497e0f166e76c62ef6"},{"version":"622f44062b7614e4a779088181ddcf0fdc57c28d7628bfef8d636068c6bd4251","signature":"1b9893aac036b3cbfa0a02ea8b19038694189aceb11044403e1e66c7f8dbbd23"},{"version":"c64063e48dc374cf9da0fe38c20efc3ebb275a58012e8bc118a73d7278b55075","signature":"82a85a62fa9a54b8519093c1e09e6cfaedea8b7f44f566a375b40bd8722da99d"},{"version":"f6038ddc64396cf58734faf65b0811e3a46c54ba85bde6d869430fcdfa825105","signature":"b93a762d1b6cfc0c6ebc3565cdbde058864c203cda7ca6c0e6774c8676f71550"},{"version":"f1b1f72ddf2b0a550f329287c8b74edef6173516c45d541dab03854aab4eb672","signature":"9789259de1594cb7e5b9634ef961e24bce2ecd20ffc4df7ded85b964c65b057d"},{"version":"bc335bfe37a3a48759935884650dfb5d2d849e3ac7deffa1a5d8d910c1f9cf86","signature":"3a5534fed799448afa6609a627ea530806c73b140f056e6dbea363771ec6d749"},{"version":"1b4d80efd3b073e754363a3ab273e0fca3b28099d303a681771ca544b65c1064","signature":"35b553a85e2f90284c3fcb84ba7a5c183669c508972f3d68a3215d60e9006e2f"},{"version":"fcedef2508b1658d62a2f7b1f3b69be40db513a99225a548bcac043429a8d29f","signature":"2fd8a5f394544095299eeddff7116c934a45f9cdcf31a686faa5bae88a807d0a"},{"version":"44bebb7e7a717b8595ffdc0782dfb5d38db95c730460c359c804801eec8d5fb8","signature":"d6021eba9c61a562ac6946b8662a7e974bce0f43374cc48b119613875f89e137"},{"version":"78cd77ee766d8206222ac254d0084fea31da566e60dc9b9d15f5f2eeeeb7a980","signature":"9514903b8491f74eec37be4cbf9a6449717b8039376c4d94c6c56392052fac93"},{"version":"262108964b6281b6471f12e778df0a42246761206b986b77e2f05cfd072b97c7","signature":"6ae4dc64ba4ae75eb893ea244a8862f4b08091a00bb0be10df40d7936ded08f5"},{"version":"0b6f25009948d5bb7e7b334aee0d6ed4756f2145ba50b4b5026663dfe9371a93","signature":"5ce8bc93e5586edec5f1e680977def5f2c4e0063b4b7705bc39f8a858190acf9"},{"version":"2ca96b23480d8a3d9c27e4a70f5c584c851d84dc108f14e9df212ee83950e3f2","signature":"bc25bcad528e6542fea929a7226f6a0f0e4dd19cb56cf7ef0c372f5d2872267c"},{"version":"8122362b370cc9bda1e3dde88cd169cbfc40b28c4dcec6df08f3d82a79e3469e","signature":"c25430d2757d061a564c8c93d3129b7c35597b941334ce06ce7cadaf1f34b2bd"},{"version":"458e8c4fac13d217a7f85d06028256c0d46e7e6155fe28d4f61f5eac6c1d6e01","signature":"b058cd683d60e3af6060e81f0b1e2b4061a21b18633d9071e1f428f32eb3db56"},{"version":"4f6aec52338e88fb851219785f243844ba1e5e43fae2b5c1e180637a00484c27","signature":"7eb8c415e456b915bca103be66d596352ed6427b8f617a09fe42f5b2bda5f7d1"},{"version":"887d5b97878acfdff00f80e5db1545cf7269bc9b2c27dfdd1011667827cdc014","signature":"4fa3a0ad7dd3c4718353a70a715cb12709c29d72cf6aaec4c3e02365a4a1f135"},{"version":"3f7b8815b3e74454750e9fc026756b0cf8d217f7f620226acdbad4d2effcab35","signature":"ac2045ea24ac35638ec031466ae3a2afc716a6dd23a8528ed469551e482307f8"},{"version":"a1178123f74b24a109d95865e3de3aae90da7fb39199c3074f15de4e1e0aedee","signature":"6dd90e9942ed08f7e27c4932774e16b6ff2103fa7e7653f0038fcb11c915605f"},{"version":"6ea32fd1849703e35eb2e9028f4e05e64d81ce130c240dda678720a2f1f2fdc3","signature":"66c6af67f8f610bc1b76653bf23278df35e0c248990dbd11346ed82ce4fdaee4"},{"version":"077978731ca02822a59ca035f58eae35781b42927bb8955029543b7e508570a6","signature":"8cb4f8a2cbd430a02ae1955389488b49df8dad7ff5e513b7d09978a9e9234aec"},{"version":"2f42fcfb44a80c2b945f6536231a2e0946b602a2cd80abe4dec446cef796df12","signature":"a92bb8ebae2376209ec0b7c75d2524ef9214b90b5811de32beb3297385f0a97f"},{"version":"c22a471d5efe806dbd8da4f7443c45abcca5ab6bd699e39629cc6f822e996500","signature":"aebde8ab7765ad89be66b4e098cd4fba80e8432377c052dc1a251e38b3039318"},{"version":"2d0ea75d20f0ce9eded77adf5e3b3b75fe22b02ca555705eadd0a512a3a85447","signature":"1b1519bc608486f2157454344fb095396b32b46dfb6e9cd1cec5aadee286961d"},{"version":"7308c93c578c0dd747d5e59ab553b92542999b7b1786041c024f0e66677979a5","signature":"ca335235957fdea8b916cd1c6a14e9c621699d00d2667c0164416c12bdf899b8"},{"version":"138f1059cd665ff788071852f07003d2e3e4930652c71bd5209a058984c5bca9","signature":"9906dfff32065a4aea67b142283bced61ae409389f9d66fc2be50372a914c0a9"},{"version":"44953630d8b89a83d22c1ff898e9655720a086881672a0bd14170e92773f0c7d","signature":"ebaf87a1c1f088a603d73442afb9a7d0171c9fc18c6cab97c6c1c0e0c7c55d32"},{"version":"61aead15de331e4070734125eabfb7a1e06474a4588fee16de5ba6f1f89b9a38","signature":"985e985f56652d21b3e033d72a0980d09c331cf1aed224eded4e48e5263dd47e"},{"version":"f8af7bf380102d72f1814035333176fde354b0f713db9621b986d1ef15e1e8f8","signature":"e6fca0b0fdb34c90b31476fc99bdbd4c15c9d2bbd75130e341edf446da1102ff"},{"version":"91336661680445d97527e2219911f5c8a84382c68e6ef8e9d68aef65d0477a7a","signature":"92bf2f596ccc3a29b985b5e950a809862140bb4f594081337b4bdb251fafb48f"},{"version":"12456947bca05613d96f2dc261d3a55a1fcd9fb338f4c5cc0d8ac0d991f6b0cf","signature":"d9379b562a57e76dac98be883529ff0af3c037671ab95cbe2d1b3923dc3f55bf"},{"version":"23df35cdf0adee5b5184b1426527501a511bdb722c30efe031ca179a41762d65","signature":"3d7a9bedca8c361a0c2779ad10d318aef0bd48c584a7e233e74cd3a2119b498c"},{"version":"7992a39d6cde5e050eb78461a8bf9ad986175a94826e835c110b3967290bd249","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"b8ec84e5845806e61be8253054f2aec0ccc97925ae24da111c0b393dd5a0e53d","signature":"f0fa5f1e86f0a5ebe041d3d0253e74fb54640dfe1cc5f7a9d4b50a6da9b3afb8"},{"version":"12456947bca05613d96f2dc261d3a55a1fcd9fb338f4c5cc0d8ac0d991f6b0cf","signature":"d9379b562a57e76dac98be883529ff0af3c037671ab95cbe2d1b3923dc3f55bf"},{"version":"23df35cdf0adee5b5184b1426527501a511bdb722c30efe031ca179a41762d65","signature":"3d7a9bedca8c361a0c2779ad10d318aef0bd48c584a7e233e74cd3a2119b498c"}],"root":[[56,100]],"options":{"composite":true,"declaration":true,"declarationMap":false,"module":99,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":false,"strict":true,"target":7,"tsBuildInfoFile":"./.tsbuildinfo"},"referencedMap":[[53,1],[55,2],[54,3],[60,4],[58,5],[59,5],[61,5],[62,5],[63,5],[64,5],[65,5],[66,5],[68,6],[69,5],[70,6],[71,5],[72,5],[94,7],[67,5],[73,5],[74,5],[75,5],[76,5],[77,5],[78,5],[79,5],[80,5],[81,5],[82,5],[83,5],[84,5],[85,5],[86,5],[87,5],[88,5],[89,5],[91,5],[90,5],[92,5],[93,5],[95,8],[96,9],[99,10],[100,11],[56,12],[57,12]],"latestChangedDtsFile":"./razer/index.d.ts","version":"5.9.3"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { VariantProps } from '../../../shared/utils/tv';
|
|
2
|
+
export declare const tvVTitle: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
size: {
|
|
4
|
+
base: string;
|
|
5
|
+
lg: string;
|
|
6
|
+
};
|
|
7
|
+
hidden: {
|
|
8
|
+
true: string;
|
|
9
|
+
false: string;
|
|
10
|
+
};
|
|
11
|
+
visible: {
|
|
12
|
+
true: string;
|
|
13
|
+
false: string;
|
|
14
|
+
};
|
|
15
|
+
} & {
|
|
16
|
+
unstyled: {
|
|
17
|
+
true: import("tailwind-merge").ClassNameValue;
|
|
18
|
+
false: import("tailwind-merge").ClassNameValue;
|
|
19
|
+
};
|
|
20
|
+
}, undefined, string[], {
|
|
21
|
+
size: {
|
|
22
|
+
base: string;
|
|
23
|
+
lg: string;
|
|
24
|
+
};
|
|
25
|
+
hidden: {
|
|
26
|
+
true: string;
|
|
27
|
+
false: string;
|
|
28
|
+
};
|
|
29
|
+
visible: {
|
|
30
|
+
true: string;
|
|
31
|
+
false: string;
|
|
32
|
+
};
|
|
33
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
34
|
+
size: {
|
|
35
|
+
base: string;
|
|
36
|
+
lg: string;
|
|
37
|
+
};
|
|
38
|
+
hidden: {
|
|
39
|
+
true: string;
|
|
40
|
+
false: string;
|
|
41
|
+
};
|
|
42
|
+
visible: {
|
|
43
|
+
true: string;
|
|
44
|
+
false: string;
|
|
45
|
+
};
|
|
46
|
+
}, undefined, string[], unknown, unknown>>;
|
|
47
|
+
export type VTitleVariants = VariantProps<typeof tvVTitle>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { tv } from '../../../shared/utils/tv';
|
|
2
|
+
const prefix = 'rui-v-title';
|
|
3
|
+
export const tvVTitle = tv({
|
|
4
|
+
base: [
|
|
5
|
+
'absolute',
|
|
6
|
+
'max-w-125',
|
|
7
|
+
'rounded',
|
|
8
|
+
'break-words',
|
|
9
|
+
'border',
|
|
10
|
+
'z-(--z-devtools)',
|
|
11
|
+
],
|
|
12
|
+
variants: {
|
|
13
|
+
size: {
|
|
14
|
+
base: 'text-xs px-1 py-0.5',
|
|
15
|
+
lg: 'text-sm px-2 py-1.25',
|
|
16
|
+
},
|
|
17
|
+
hidden: {
|
|
18
|
+
true: '',
|
|
19
|
+
false: '',
|
|
20
|
+
},
|
|
21
|
+
visible: {
|
|
22
|
+
true: 'visible',
|
|
23
|
+
false: 'invisible',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
defaultVariants: {
|
|
27
|
+
size: 'base',
|
|
28
|
+
hidden: true,
|
|
29
|
+
visible: false,
|
|
30
|
+
},
|
|
31
|
+
}, {
|
|
32
|
+
class: prefix,
|
|
33
|
+
});
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import type { VariantProps } from '../../../shared/utils/tv';
|
|
2
|
+
export declare const tvVirtualList: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
horizontal: {
|
|
4
|
+
true: string;
|
|
5
|
+
false: string;
|
|
6
|
+
};
|
|
7
|
+
} & {
|
|
8
|
+
unstyled: {
|
|
9
|
+
true: import("tailwind-merge").ClassNameValue;
|
|
10
|
+
false: import("tailwind-merge").ClassNameValue;
|
|
11
|
+
};
|
|
12
|
+
}, {
|
|
13
|
+
base: string;
|
|
14
|
+
scroll: string;
|
|
15
|
+
}, undefined, {
|
|
16
|
+
horizontal: {
|
|
17
|
+
true: string;
|
|
18
|
+
false: string;
|
|
19
|
+
};
|
|
20
|
+
}, {
|
|
21
|
+
base: string;
|
|
22
|
+
scroll: string;
|
|
23
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
24
|
+
horizontal: {
|
|
25
|
+
true: string;
|
|
26
|
+
false: string;
|
|
27
|
+
};
|
|
28
|
+
}, {
|
|
29
|
+
base: string;
|
|
30
|
+
scroll: string;
|
|
31
|
+
}, undefined, unknown, unknown>>;
|
|
32
|
+
export type VirtualListVariants = VariantProps<typeof tvVirtualList>;
|
|
33
|
+
export declare const tvVirtualInfiniteLoading: import("tailwind-variants").TVReturnType<{
|
|
34
|
+
size: {
|
|
35
|
+
sm: string;
|
|
36
|
+
lg: string;
|
|
37
|
+
base: string;
|
|
38
|
+
};
|
|
39
|
+
} & {
|
|
40
|
+
unstyled: {
|
|
41
|
+
true: import("tailwind-merge").ClassNameValue;
|
|
42
|
+
false: import("tailwind-merge").ClassNameValue;
|
|
43
|
+
};
|
|
44
|
+
}, {
|
|
45
|
+
base: string;
|
|
46
|
+
loading: string;
|
|
47
|
+
spinner: string;
|
|
48
|
+
complete: string;
|
|
49
|
+
error: string;
|
|
50
|
+
}, undefined, {
|
|
51
|
+
size: {
|
|
52
|
+
sm: string;
|
|
53
|
+
lg: string;
|
|
54
|
+
base: string;
|
|
55
|
+
};
|
|
56
|
+
}, {
|
|
57
|
+
base: string;
|
|
58
|
+
loading: string;
|
|
59
|
+
spinner: string;
|
|
60
|
+
complete: string;
|
|
61
|
+
error: string;
|
|
62
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
63
|
+
size: {
|
|
64
|
+
sm: string;
|
|
65
|
+
lg: string;
|
|
66
|
+
base: string;
|
|
67
|
+
};
|
|
68
|
+
}, {
|
|
69
|
+
base: string;
|
|
70
|
+
loading: string;
|
|
71
|
+
spinner: string;
|
|
72
|
+
complete: string;
|
|
73
|
+
error: string;
|
|
74
|
+
}, undefined, unknown, unknown>>;
|
|
75
|
+
export type VirtualInfiniteLoadingVariants = VariantProps<typeof tvVirtualInfiniteLoading>;
|
|
76
|
+
export declare const tvVirtualGrid: import("tailwind-variants").TVReturnType<({
|
|
77
|
+
[key: string]: {
|
|
78
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
79
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
80
|
+
scroll?: import("tailwind-merge").ClassNameValue;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
} | {
|
|
84
|
+
[x: string]: {
|
|
85
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
86
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
87
|
+
scroll?: import("tailwind-merge").ClassNameValue;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
} | {}) & {
|
|
91
|
+
unstyled: {
|
|
92
|
+
true: import("tailwind-merge").ClassNameValue;
|
|
93
|
+
false: import("tailwind-merge").ClassNameValue;
|
|
94
|
+
};
|
|
95
|
+
}, {
|
|
96
|
+
base: string;
|
|
97
|
+
scroll: string;
|
|
98
|
+
}, undefined, {
|
|
99
|
+
[key: string]: {
|
|
100
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
101
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
102
|
+
scroll?: import("tailwind-merge").ClassNameValue;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
} | {}, {
|
|
106
|
+
base: string;
|
|
107
|
+
scroll: string;
|
|
108
|
+
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
109
|
+
base: string;
|
|
110
|
+
scroll: string;
|
|
111
|
+
}, undefined, unknown, unknown>>;
|
|
112
|
+
export type VirtualGridVariants = VariantProps<typeof tvVirtualGrid>;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { tv } from '../../../shared/utils/tv';
|
|
2
|
+
const prefix = 'rui-virtual';
|
|
3
|
+
export const tvVirtualList = tv({
|
|
4
|
+
slots: {
|
|
5
|
+
base: 'size-full overflow-auto overflow-anchor-none overscroll-contain',
|
|
6
|
+
scroll: 'relative',
|
|
7
|
+
},
|
|
8
|
+
variants: {
|
|
9
|
+
horizontal: {
|
|
10
|
+
true: '',
|
|
11
|
+
false: '',
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
}, {
|
|
15
|
+
slots: {
|
|
16
|
+
base: `${prefix}-list`,
|
|
17
|
+
scroll: `${prefix}-list-scroll`,
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
export const tvVirtualInfiniteLoading = tv({
|
|
21
|
+
slots: {
|
|
22
|
+
base: 'w-full h-auto',
|
|
23
|
+
loading: 'flex items-center justify-center',
|
|
24
|
+
spinner: 'animate-spin',
|
|
25
|
+
complete: 'flex items-center justify-center',
|
|
26
|
+
error: 'flex flex-col items-center justify-center',
|
|
27
|
+
},
|
|
28
|
+
variants: {
|
|
29
|
+
size: {
|
|
30
|
+
sm: 'text-sm',
|
|
31
|
+
lg: 'text-lg',
|
|
32
|
+
base: 'text-base',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
defaultVariants: {
|
|
36
|
+
size: 'base',
|
|
37
|
+
},
|
|
38
|
+
compoundVariants: [
|
|
39
|
+
{
|
|
40
|
+
size: 'base',
|
|
41
|
+
class: {
|
|
42
|
+
loading: 'py-2',
|
|
43
|
+
spinner: 'size-6',
|
|
44
|
+
complete: 'py-2',
|
|
45
|
+
error: 'py-2 gap-2',
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
size: 'sm',
|
|
50
|
+
class: {
|
|
51
|
+
loading: 'py-1.5',
|
|
52
|
+
spinner: 'size-5',
|
|
53
|
+
complete: 'py-1.5',
|
|
54
|
+
error: 'py-1.5 gap-1',
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
size: 'lg',
|
|
59
|
+
class: {
|
|
60
|
+
loading: 'py-3',
|
|
61
|
+
spinner: 'size-7',
|
|
62
|
+
complete: 'py-3',
|
|
63
|
+
error: 'py-3 gap-2.5',
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
}, {
|
|
68
|
+
slots: {
|
|
69
|
+
base: `${prefix}-infinite`,
|
|
70
|
+
loading: `${prefix}-infinite-loading`,
|
|
71
|
+
spinner: `${prefix}-infinite-spinner`,
|
|
72
|
+
complete: `${prefix}-infinite-complete`,
|
|
73
|
+
error: `${prefix}-infinite-error`,
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
export const tvVirtualGrid = tv({
|
|
77
|
+
slots: {
|
|
78
|
+
base: 'size-full overflow-auto overflow-anchor-none overscroll-contain',
|
|
79
|
+
scroll: 'relative',
|
|
80
|
+
},
|
|
81
|
+
}, {
|
|
82
|
+
slots: {
|
|
83
|
+
base: `${prefix}-grid`,
|
|
84
|
+
scroll: `${prefix}-grid-scroll`,
|
|
85
|
+
},
|
|
86
|
+
});
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { VariantProps } from '../../../shared/utils/tv';
|
|
2
|
+
export declare const tvBadge: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
variant: {
|
|
4
|
+
default: string;
|
|
5
|
+
secondary: string;
|
|
6
|
+
dot: string[];
|
|
7
|
+
};
|
|
8
|
+
size: {
|
|
9
|
+
xs: string[];
|
|
10
|
+
sm: string[];
|
|
11
|
+
base: string[];
|
|
12
|
+
lg: string[];
|
|
13
|
+
};
|
|
14
|
+
} & {
|
|
15
|
+
unstyled: {
|
|
16
|
+
true: import("tailwind-merge").ClassNameValue;
|
|
17
|
+
false: import("tailwind-merge").ClassNameValue;
|
|
18
|
+
};
|
|
19
|
+
}, undefined, string[], {
|
|
20
|
+
variant: {
|
|
21
|
+
default: string;
|
|
22
|
+
secondary: string;
|
|
23
|
+
dot: string[];
|
|
24
|
+
};
|
|
25
|
+
size: {
|
|
26
|
+
xs: string[];
|
|
27
|
+
sm: string[];
|
|
28
|
+
base: string[];
|
|
29
|
+
lg: string[];
|
|
30
|
+
};
|
|
31
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
32
|
+
variant: {
|
|
33
|
+
default: string;
|
|
34
|
+
secondary: string;
|
|
35
|
+
dot: string[];
|
|
36
|
+
};
|
|
37
|
+
size: {
|
|
38
|
+
xs: string[];
|
|
39
|
+
sm: string[];
|
|
40
|
+
base: string[];
|
|
41
|
+
lg: string[];
|
|
42
|
+
};
|
|
43
|
+
}, undefined, string[], unknown, unknown>>;
|
|
44
|
+
export type BadgeVariants = VariantProps<typeof tvBadge>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { tv } from '../../../shared/utils/tv';
|
|
2
|
+
const prefix = 'rui-badge';
|
|
3
|
+
export const tvBadge = tv({
|
|
4
|
+
base: [
|
|
5
|
+
'inline-flex',
|
|
6
|
+
'items-center',
|
|
7
|
+
'rounded',
|
|
8
|
+
'uppercase',
|
|
9
|
+
'outline-none',
|
|
10
|
+
'transition-colors',
|
|
11
|
+
],
|
|
12
|
+
variants: {
|
|
13
|
+
variant: {
|
|
14
|
+
default: '',
|
|
15
|
+
secondary: '',
|
|
16
|
+
dot: ['rounded-full', '-top-[.5em]', '-right-[.5em]'],
|
|
17
|
+
},
|
|
18
|
+
size: {
|
|
19
|
+
xs: ['text-3xs', 'py-0.25', 'px-1'],
|
|
20
|
+
sm: ['text-2xs', 'py-0.25', 'px-1'],
|
|
21
|
+
base: ['text-xs', 'py-0.5', 'px-1.25'],
|
|
22
|
+
lg: ['text-sm', 'py-0.5', 'px-1.5'],
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: {
|
|
26
|
+
variant: 'default',
|
|
27
|
+
size: 'base',
|
|
28
|
+
},
|
|
29
|
+
compoundVariants: [
|
|
30
|
+
{
|
|
31
|
+
variant: 'dot',
|
|
32
|
+
size: 'base',
|
|
33
|
+
class: ['p-0', 'size-[.375rem]'],
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
variant: 'dot',
|
|
37
|
+
size: 'sm',
|
|
38
|
+
class: ['p-0', 'size-[.25rem]'],
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
variant: 'dot',
|
|
42
|
+
size: 'lg',
|
|
43
|
+
class: ['p-0', 'size-[.5rem]'],
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
}, {
|
|
47
|
+
class: prefix,
|
|
48
|
+
});
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import type { VariantProps } from '../../../shared/utils/tv';
|
|
2
|
+
export declare const tvButton: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
variant: {
|
|
4
|
+
default: string;
|
|
5
|
+
normal: string;
|
|
6
|
+
outline: string;
|
|
7
|
+
text: string;
|
|
8
|
+
icon: {
|
|
9
|
+
root: string[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
size: {
|
|
13
|
+
xs: {
|
|
14
|
+
root: string;
|
|
15
|
+
};
|
|
16
|
+
sm: {
|
|
17
|
+
root: string;
|
|
18
|
+
};
|
|
19
|
+
base: {
|
|
20
|
+
root: string;
|
|
21
|
+
};
|
|
22
|
+
lg: {
|
|
23
|
+
root: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
loading: {
|
|
27
|
+
true: {
|
|
28
|
+
root: string;
|
|
29
|
+
};
|
|
30
|
+
false: string;
|
|
31
|
+
};
|
|
32
|
+
} & {
|
|
33
|
+
unstyled: {
|
|
34
|
+
true: import("tailwind-merge").ClassNameValue;
|
|
35
|
+
false: import("tailwind-merge").ClassNameValue;
|
|
36
|
+
};
|
|
37
|
+
}, {
|
|
38
|
+
root: string[];
|
|
39
|
+
loading: string;
|
|
40
|
+
}, undefined, {
|
|
41
|
+
variant: {
|
|
42
|
+
default: string;
|
|
43
|
+
normal: string;
|
|
44
|
+
outline: string;
|
|
45
|
+
text: string;
|
|
46
|
+
icon: {
|
|
47
|
+
root: string[];
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
size: {
|
|
51
|
+
xs: {
|
|
52
|
+
root: string;
|
|
53
|
+
};
|
|
54
|
+
sm: {
|
|
55
|
+
root: string;
|
|
56
|
+
};
|
|
57
|
+
base: {
|
|
58
|
+
root: string;
|
|
59
|
+
};
|
|
60
|
+
lg: {
|
|
61
|
+
root: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
loading: {
|
|
65
|
+
true: {
|
|
66
|
+
root: string;
|
|
67
|
+
};
|
|
68
|
+
false: string;
|
|
69
|
+
};
|
|
70
|
+
}, {
|
|
71
|
+
root: string[];
|
|
72
|
+
loading: string;
|
|
73
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
74
|
+
variant: {
|
|
75
|
+
default: string;
|
|
76
|
+
normal: string;
|
|
77
|
+
outline: string;
|
|
78
|
+
text: string;
|
|
79
|
+
icon: {
|
|
80
|
+
root: string[];
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
size: {
|
|
84
|
+
xs: {
|
|
85
|
+
root: string;
|
|
86
|
+
};
|
|
87
|
+
sm: {
|
|
88
|
+
root: string;
|
|
89
|
+
};
|
|
90
|
+
base: {
|
|
91
|
+
root: string;
|
|
92
|
+
};
|
|
93
|
+
lg: {
|
|
94
|
+
root: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
loading: {
|
|
98
|
+
true: {
|
|
99
|
+
root: string;
|
|
100
|
+
};
|
|
101
|
+
false: string;
|
|
102
|
+
};
|
|
103
|
+
}, {
|
|
104
|
+
root: string[];
|
|
105
|
+
loading: string;
|
|
106
|
+
}, undefined, unknown, unknown>>;
|
|
107
|
+
export type ButtonVariants = VariantProps<typeof tvButton>;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { tv } from '../../../shared/utils/tv';
|
|
2
|
+
const prefix = 'rui-btn';
|
|
3
|
+
export const tvButton = tv({
|
|
4
|
+
slots: {
|
|
5
|
+
root: [
|
|
6
|
+
'inline-flex',
|
|
7
|
+
'items-center',
|
|
8
|
+
'justify-center',
|
|
9
|
+
'rounded',
|
|
10
|
+
'border',
|
|
11
|
+
'transition-all',
|
|
12
|
+
'disabled:pointer-events-none',
|
|
13
|
+
'disabled:opacity-(--disabled-opacity)',
|
|
14
|
+
'[&_svg]:pointer-events-none',
|
|
15
|
+
'[&_svg]:shrink-0',
|
|
16
|
+
],
|
|
17
|
+
loading: 'size-[1lh] animate-spin',
|
|
18
|
+
},
|
|
19
|
+
variants: {
|
|
20
|
+
variant: {
|
|
21
|
+
default: '',
|
|
22
|
+
normal: '',
|
|
23
|
+
outline: '',
|
|
24
|
+
text: '',
|
|
25
|
+
icon: {
|
|
26
|
+
root: ['p-0', 'aspect-square', 'border-none'],
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
size: {
|
|
30
|
+
xs: {
|
|
31
|
+
root: 'h-6 px-3 gap-1.5 text-xs',
|
|
32
|
+
},
|
|
33
|
+
sm: {
|
|
34
|
+
root: 'h-7 px-4 gap-2 text-sm',
|
|
35
|
+
},
|
|
36
|
+
base: {
|
|
37
|
+
root: 'h-8 px-5 gap-2.5 text-base',
|
|
38
|
+
},
|
|
39
|
+
lg: {
|
|
40
|
+
root: 'h-9 px-6 gap-3 text-lg',
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
loading: {
|
|
44
|
+
true: {
|
|
45
|
+
root: 'pointer-events-none',
|
|
46
|
+
},
|
|
47
|
+
false: '',
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
defaultVariants: {
|
|
51
|
+
variant: 'default',
|
|
52
|
+
size: 'base',
|
|
53
|
+
loading: false,
|
|
54
|
+
},
|
|
55
|
+
}, {
|
|
56
|
+
slots: {
|
|
57
|
+
root: prefix,
|
|
58
|
+
loading: `${prefix}-loading`,
|
|
59
|
+
},
|
|
60
|
+
});
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { VariantProps } from '../../../shared/utils/tv';
|
|
2
|
+
export declare const tvCheckbox: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
disabled: {
|
|
4
|
+
true: string;
|
|
5
|
+
false: string;
|
|
6
|
+
};
|
|
7
|
+
size: {
|
|
8
|
+
xs: string;
|
|
9
|
+
sm: string;
|
|
10
|
+
base: string;
|
|
11
|
+
lg: string;
|
|
12
|
+
};
|
|
13
|
+
} & {
|
|
14
|
+
unstyled: {
|
|
15
|
+
true: import("tailwind-merge").ClassNameValue;
|
|
16
|
+
false: import("tailwind-merge").ClassNameValue;
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
root: string[];
|
|
20
|
+
control: string[];
|
|
21
|
+
indicator: string[];
|
|
22
|
+
indicatorChecked: string;
|
|
23
|
+
indicatorMinus: string;
|
|
24
|
+
label: string;
|
|
25
|
+
}, undefined, {
|
|
26
|
+
disabled: {
|
|
27
|
+
true: string;
|
|
28
|
+
false: string;
|
|
29
|
+
};
|
|
30
|
+
size: {
|
|
31
|
+
xs: string;
|
|
32
|
+
sm: string;
|
|
33
|
+
base: string;
|
|
34
|
+
lg: string;
|
|
35
|
+
};
|
|
36
|
+
}, {
|
|
37
|
+
root: string[];
|
|
38
|
+
control: string[];
|
|
39
|
+
indicator: string[];
|
|
40
|
+
indicatorChecked: string;
|
|
41
|
+
indicatorMinus: string;
|
|
42
|
+
label: string;
|
|
43
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
44
|
+
disabled: {
|
|
45
|
+
true: string;
|
|
46
|
+
false: string;
|
|
47
|
+
};
|
|
48
|
+
size: {
|
|
49
|
+
xs: string;
|
|
50
|
+
sm: string;
|
|
51
|
+
base: string;
|
|
52
|
+
lg: string;
|
|
53
|
+
};
|
|
54
|
+
}, {
|
|
55
|
+
root: string[];
|
|
56
|
+
control: string[];
|
|
57
|
+
indicator: string[];
|
|
58
|
+
indicatorChecked: string;
|
|
59
|
+
indicatorMinus: string;
|
|
60
|
+
label: string;
|
|
61
|
+
}, undefined, unknown, unknown>>;
|
|
62
|
+
export type CheckboxVariants = VariantProps<typeof tvCheckbox>;
|