@bitrix24/b24ui-nuxt 0.5.5 → 0.5.6

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.
@@ -2206,7 +2206,7 @@ const formField = {
2206
2206
 
2207
2207
  const input = {
2208
2208
  slots: {
2209
- root: "relative inline-flex items-center w-full",
2209
+ root: "isolate relative inline-flex items-center w-full",
2210
2210
  base: [
2211
2211
  "px-3",
2212
2212
  "w-full py-0 border-0 focus:outline-none",
@@ -2999,7 +2999,7 @@ const inputNumber = () => {
2999
2999
  const input$1 = input;
3000
3000
  return {
3001
3001
  slots: {
3002
- root: "relative inline-flex items-center",
3002
+ root: "isolate relative inline-flex items-center",
3003
3003
  base: [
3004
3004
  "w-full py-0 border-0 focus:outline-none disabled:cursor-not-allowed disabled:opacity-75",
3005
3005
  "placeholder:text-base-400",
@@ -5181,7 +5181,7 @@ const select = () => {
5181
5181
  return defu.defuFn(
5182
5182
  {
5183
5183
  slots: {
5184
- root: () => "relative inline-flex items-center w-full",
5184
+ root: () => "isolate relative inline-flex items-center w-full",
5185
5185
  base: () => [
5186
5186
  "px-3",
5187
5187
  "relative inline-flex items-center group",
@@ -6008,7 +6008,7 @@ const tabs = {
6008
6008
 
6009
6009
  const textarea = {
6010
6010
  slots: {
6011
- root: "relative inline-flex items-center w-full",
6011
+ root: "isolate relative inline-flex items-center w-full",
6012
6012
  base: [
6013
6013
  "w-full px-3 py-1.5 border-0 focus:outline-none",
6014
6014
  "disabled:cursor-not-allowed disabled:bg-base-30/37 disabled:resize-none disabled:text-base-500",
@@ -6533,6 +6533,7 @@ const sidebarLayout = {
6533
6533
  "flex items-center",
6534
6534
  "lg:hidden"
6535
6535
  ].join(" "),
6536
+ headerMenuIcon: "",
6536
6537
  headerPaddings: [
6537
6538
  "py-2.5"
6538
6539
  ].join(" "),
@@ -6589,12 +6590,88 @@ const sidebarLayout = {
6589
6590
 
6590
6591
  const stackedLayout = {
6591
6592
  slots: {
6592
- root: "",
6593
- container: ""
6593
+ root: [
6594
+ "min-h-svh w-full",
6595
+ "flex flex-col",
6596
+ "lg:px-2",
6597
+ "relative isolate"
6598
+ ].join(" "),
6599
+ sidebarSlideoverContainer: [
6600
+ "max-w-80",
6601
+ "p-2",
6602
+ "bg-transparent dark:bg-transparent sm:shadow-none"
6603
+ ].join(" "),
6604
+ sidebarSlideover: [
6605
+ "h-full",
6606
+ "overflow-hidden",
6607
+ "flex flex-col",
6608
+ "bg-white dark:bg-base-dark",
6609
+ "ring-1 ring-base-950/5 dark:ring-white/10",
6610
+ "shadow-xs",
6611
+ "rounded-lg"
6612
+ ].join(" "),
6613
+ sidebarSlideoverBtnClose: [
6614
+ "-mb-3",
6615
+ "px-4 pt-3"
6616
+ ].join(" "),
6617
+ header: [
6618
+ "px-4",
6619
+ "flex items-center",
6620
+ /**
6621
+ * @memo this sync with NavigationMenu
6622
+ */
6623
+ "h-[84px]"
6624
+ ].join(" "),
6625
+ headerMenuIcon: [
6626
+ "lg:hidden"
6627
+ ].join(" "),
6628
+ headerPaddings: [
6629
+ "py-2.5"
6630
+ ].join(" "),
6631
+ headerWrapper: [
6632
+ "min-w-0",
6633
+ "flex-1"
6634
+ ].join(" "),
6635
+ container: [
6636
+ "flex-1 flex flex-col",
6637
+ "lg:min-w-0",
6638
+ "pb-2"
6639
+ ].join(" "),
6640
+ containerWrapper: [
6641
+ "grow"
6642
+ ].join(" "),
6643
+ containerWrapperInner: ""
6644
+ },
6645
+ variants: {
6646
+ useSidebar: {
6647
+ true: "",
6648
+ false: ""
6649
+ },
6650
+ useLightContent: {
6651
+ true: {
6652
+ root: [
6653
+ "bg-white dark:bg-white/10",
6654
+ "lg:bg-base-50 dark:lg:bg-base-dark"
6655
+ ].join(" "),
6656
+ containerWrapper: [
6657
+ "p-6 lg:p-10",
6658
+ "lg:bg-white dark:lg:bg-white/10",
6659
+ "lg:ring-1 lg:ring-base-950/5 dark:lg:ring-white/10",
6660
+ "lg:shadow-xs",
6661
+ "lg:rounded-lg"
6662
+ ].join(" ")
6663
+ },
6664
+ false: {
6665
+ container: [
6666
+ "px-4"
6667
+ ].join(" ")
6668
+ }
6669
+ }
6594
6670
  },
6595
- variants: {},
6596
6671
  compoundVariants: [],
6597
- defaultVariants: {}
6672
+ defaultVariants: {
6673
+ useLightContent: true
6674
+ }
6598
6675
  };
6599
6676
 
6600
6677
  const sidebar = {
package/dist/unplugin.cjs CHANGED
@@ -5,7 +5,7 @@ const pathe = require('pathe');
5
5
  const unplugin = require('unplugin');
6
6
  const defu = require('defu');
7
7
  const tailwind = require('@tailwindcss/vite');
8
- const templates = require('./shared/b24ui-nuxt.BGKKwlPY.cjs');
8
+ const templates = require('./shared/b24ui-nuxt.GF6icKT2.cjs');
9
9
  const tinyglobby = require('tinyglobby');
10
10
  const knitwork = require('knitwork');
11
11
  const MagicString = require('magic-string');
package/dist/unplugin.mjs CHANGED
@@ -3,7 +3,7 @@ import { join, normalize } from 'pathe';
3
3
  import { createUnplugin } from 'unplugin';
4
4
  import { defu } from 'defu';
5
5
  import tailwind from '@tailwindcss/vite';
6
- import { g as getTemplates, d as defaultOptions, a as getDefaultUiConfig } from './shared/b24ui-nuxt.DWwKgFlo.mjs';
6
+ import { g as getTemplates, d as defaultOptions, a as getDefaultUiConfig } from './shared/b24ui-nuxt.Cdw6m70Y.mjs';
7
7
  import { globSync } from 'tinyglobby';
8
8
  import { genSafeVariableName } from 'knitwork';
9
9
  import MagicString from 'magic-string';
package/dist/vite.cjs CHANGED
@@ -6,7 +6,7 @@ require('pathe');
6
6
  require('unplugin');
7
7
  require('defu');
8
8
  require('@tailwindcss/vite');
9
- require('./shared/b24ui-nuxt.BGKKwlPY.cjs');
9
+ require('./shared/b24ui-nuxt.GF6icKT2.cjs');
10
10
  require('scule');
11
11
  require('@nuxt/kit');
12
12
  require('tinyglobby');
package/dist/vite.mjs CHANGED
@@ -4,7 +4,7 @@ import 'pathe';
4
4
  import 'unplugin';
5
5
  import 'defu';
6
6
  import '@tailwindcss/vite';
7
- import './shared/b24ui-nuxt.DWwKgFlo.mjs';
7
+ import './shared/b24ui-nuxt.Cdw6m70Y.mjs';
8
8
  import 'scule';
9
9
  import '@nuxt/kit';
10
10
  import 'tinyglobby';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitrix24/b24ui-nuxt",
3
3
  "description": "Bitrix24 UI-Kit for developing web applications REST API for NUXT & VUE",
4
- "version": "0.5.5",
4
+ "version": "0.5.6",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/bitrix24/b24ui.git"