@bagelink/vue 0.0.481 → 0.0.487
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/Accordion.vue.d.ts +4 -2
- package/dist/components/Accordion.vue.d.ts.map +1 -1
- package/dist/components/AccordionItem.vue.d.ts +13 -11
- package/dist/components/AccordionItem.vue.d.ts.map +1 -1
- package/dist/components/Alert.vue.d.ts +1 -1
- package/dist/components/Alert.vue.d.ts.map +1 -1
- package/dist/components/Avatar.vue.d.ts +8 -8
- package/dist/components/Avatar.vue.d.ts.map +1 -1
- package/dist/components/Btn.vue.d.ts +39 -37
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/Card.vue.d.ts +22 -20
- package/dist/components/Card.vue.d.ts.map +1 -1
- package/dist/components/Carousel.vue.d.ts +14 -12
- package/dist/components/Carousel.vue.d.ts.map +1 -1
- package/dist/components/DataPreview.vue.d.ts +6 -4
- package/dist/components/DataPreview.vue.d.ts.map +1 -1
- package/dist/components/ListItem.vue.d.ts +16 -14
- package/dist/components/ListItem.vue.d.ts.map +1 -1
- package/dist/components/ListView.vue.d.ts +4 -2
- package/dist/components/ListView.vue.d.ts.map +1 -1
- package/dist/components/MaterialIcon.vue.d.ts +8 -8
- package/dist/components/MaterialIcon.vue.d.ts.map +1 -1
- package/dist/components/Modal.vue.d.ts +20 -18
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/ModalForm.vue.d.ts.map +1 -1
- package/dist/components/NavBar.vue.d.ts +19 -15
- package/dist/components/NavBar.vue.d.ts.map +1 -1
- package/dist/components/PageTitle.vue.d.ts +6 -4
- package/dist/components/PageTitle.vue.d.ts.map +1 -1
- package/dist/components/TableSchema.vue.d.ts +53 -399
- package/dist/components/TableSchema.vue.d.ts.map +1 -1
- package/dist/components/Title.vue.d.ts +6 -4
- package/dist/components/Title.vue.d.ts.map +1 -1
- package/dist/components/TopBar.vue.d.ts +4 -2
- package/dist/components/TopBar.vue.d.ts.map +1 -1
- package/dist/components/form/BglField.vue.d.ts.map +1 -1
- package/dist/components/form/BglForm.vue.d.ts +23 -21
- package/dist/components/form/BglForm.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/CheckInput.vue.d.ts +6 -4
- package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ColorPicker.vue.d.ts +14 -14
- package/dist/components/form/inputs/ColorPicker.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DateInput.vue.d.ts +14 -14
- package/dist/components/form/inputs/DateInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DatePicker.vue.d.ts +14 -14
- package/dist/components/form/inputs/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/FileUpload.vue.d.ts +39 -161
- package/dist/components/form/inputs/FileUpload.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/JSONInput.vue.d.ts +10 -10
- package/dist/components/form/inputs/JSONInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RadioPillsInput.vue.d.ts +6 -6
- package/dist/components/form/inputs/RadioPillsInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SelectInput.vue.d.ts +26 -24
- package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SignaturePad.vue.d.ts +18 -18
- package/dist/components/form/inputs/SignaturePad.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TableField.vue.d.ts +2 -2
- package/dist/components/form/inputs/TableField.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TelInput.vue.d.ts +5 -5
- package/dist/components/form/inputs/TelInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TextInput.vue.d.ts +46 -46
- package/dist/components/form/inputs/TextInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/ToggleInput.vue.d.ts.map +1 -1
- package/dist/components/layout/BottomMenu.vue.d.ts +6 -4
- package/dist/components/layout/BottomMenu.vue.d.ts.map +1 -1
- package/dist/components/layout/Layout.vue.d.ts +6 -4
- package/dist/components/layout/Layout.vue.d.ts.map +1 -1
- package/dist/components/layout/SidebarMenu.vue.d.ts +13 -11
- package/dist/components/layout/SidebarMenu.vue.d.ts.map +1 -1
- package/dist/components/layout/TabbedLayout.vue.d.ts +16 -14
- package/dist/components/layout/TabbedLayout.vue.d.ts.map +1 -1
- package/dist/components/layout/Tabs.vue.d.ts +6 -4
- package/dist/components/layout/Tabs.vue.d.ts.map +1 -1
- package/dist/components/layout/TabsBody.vue.d.ts +4 -2
- package/dist/components/layout/TabsBody.vue.d.ts.map +1 -1
- package/dist/components/layout/TabsNav.vue.d.ts +13 -10
- package/dist/components/layout/TabsNav.vue.d.ts.map +1 -1
- package/dist/index.cjs +683 -1196
- package/dist/index.mjs +683 -1196
- package/dist/plugins/bagel.d.ts.map +1 -1
- package/dist/style.css +447 -189
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/lang.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/components/AccordionItem.vue +3 -2
- package/src/components/Btn.vue +3 -2
- package/src/components/Card.vue +1 -0
- package/src/components/ListItem.vue +1 -1
- package/src/components/NavBar.vue +1 -1
- package/src/components/TableSchema.vue +1 -1
- package/src/components/form/inputs/FileUpload.vue +2 -1
- package/src/components/form/inputs/TelInput.vue +1 -1
- package/src/components/form/inputs/ToggleInput.vue +13 -10
- package/src/components/layout/TabsNav.vue +56 -31
- package/src/styles/appearance.css +8 -0
- package/src/styles/inputs.css +18 -0
- package/src/styles/layout.css +93 -0
- package/src/styles/mobilLayout.css +94 -0
- package/src/styles/text.css +81 -0
- package/src/styles/theme.css +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAG1C,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,IAAI,EAAE,KAAK,SAAM,QAGnD;AAED,wBAAgB,UAAU,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAI3D;AAED,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,iBAGtE;AAED,wBAAgB,QAAQ,CAAC,GAAG,MAAM,EAAE,MAAM,EAAE,UAG3C;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,IAAI,QAIrE;AAED,wBAAgB,QAAQ,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,GAAG,EAAE,GAAG,OAAO,EAAE,GAAG,EAAE,UAKpE;AAED,wBAAgB,SAAS,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,CAAC,EAAE,UAAU,EAAE,QAAQ,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,OAS7F;AAED,wBAAgB,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,OAM9C;AAED,eAAO,MAAM,SAAS,cAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAG1C,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,IAAI,EAAE,KAAK,SAAM,QAGnD;AAED,wBAAgB,UAAU,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAI3D;AAED,wBAAsB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,iBAGtE;AAED,wBAAgB,QAAQ,CAAC,GAAG,MAAM,EAAE,MAAM,EAAE,UAG3C;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,IAAI,QAIrE;AAED,wBAAgB,QAAQ,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,GAAG,EAAE,GAAG,OAAO,EAAE,GAAG,EAAE,UAKpE;AAED,wBAAgB,SAAS,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,CAAC,EAAE,UAAU,EAAE,QAAQ,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,OAS7F;AAED,wBAAgB,KAAK,CAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,OAM9C;AAED,eAAO,MAAM,SAAS,cAAe,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,YAAY,MAAM,QAAqD,CAAA;AAE/H,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAExC,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAA;AAElD,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA"}
|
package/dist/utils/lang.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lang.d.ts","sourceRoot":"","sources":["../../src/utils/lang.ts"],"names":[],"mappings":"AAcA,wBAAgB,OAAO;;mBAMA,
|
|
1
|
+
{"version":3,"file":"lang.d.ts","sourceRoot":"","sources":["../../src/utils/lang.ts"],"names":[],"mappings":"AAcA,wBAAgB,OAAO;;mBAMA,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;EAkBzC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bagelink/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.487",
|
|
5
5
|
"description": "Bagel core sdk packages",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Neveh Allon",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
],
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@vue-macros/reactivity-transform": "^0.4.6",
|
|
55
|
-
"vue": "^3.4.
|
|
55
|
+
"vue": "^3.4.30",
|
|
56
56
|
"@types/leaflet": "^1.9.12",
|
|
57
57
|
"@types/signature_pad": "^2.3.6"
|
|
58
58
|
},
|
|
@@ -117,9 +117,9 @@
|
|
|
117
117
|
"@tiptap/extension-table-cell": "^2.4.0",
|
|
118
118
|
"@tiptap/vue-3": "^2.4.0",
|
|
119
119
|
"leaflet": "^1.9.4",
|
|
120
|
-
"libphonenumber-js": "1.11.
|
|
120
|
+
"libphonenumber-js": "1.11.4",
|
|
121
121
|
"floating-vue": "^5.2.2",
|
|
122
|
-
"type-fest": "^4.
|
|
122
|
+
"type-fest": "^4.20.1",
|
|
123
123
|
"axios": "^1.7.2"
|
|
124
124
|
},
|
|
125
125
|
"scripts": {
|
|
@@ -24,7 +24,8 @@ onMounted(() => {
|
|
|
24
24
|
if (props.open) isOpen = true
|
|
25
25
|
})
|
|
26
26
|
|
|
27
|
-
const accordionState
|
|
27
|
+
const accordionState
|
|
28
|
+
= (inject('accordionState') as { openItem: string | null }) || {}
|
|
28
29
|
const id = props.id || Math.random().toString(36).substring(7)
|
|
29
30
|
|
|
30
31
|
watch(
|
|
@@ -32,7 +33,7 @@ watch(
|
|
|
32
33
|
(currentOpenId) => {
|
|
33
34
|
if (currentOpenId !== id) isOpen = false
|
|
34
35
|
},
|
|
35
|
-
{ immediate: true }
|
|
36
|
+
{ immediate: true }
|
|
36
37
|
)
|
|
37
38
|
|
|
38
39
|
function toggle() {
|
package/src/components/Btn.vue
CHANGED
|
@@ -227,8 +227,9 @@ a {
|
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
.bgl_btn.thin {
|
|
230
|
-
padding-
|
|
231
|
-
|
|
230
|
+
padding-inline: calc(var(--btn-padding) / 3);
|
|
231
|
+
border-radius: calc(var(--btn-border-radius) / 1.5);
|
|
232
|
+
|
|
232
233
|
}
|
|
233
234
|
|
|
234
235
|
.bgl_btn.round {
|
package/src/components/Card.vue
CHANGED
|
@@ -14,7 +14,7 @@ defineProps<{
|
|
|
14
14
|
<component :is="to ? 'RouterLink' : 'div'" :to="to" class="flex list-item gap-1">
|
|
15
15
|
<Avatar v-if="src || showAvatar" style="flex-basis: 1;" :name="title" :src="src" :size="40" />
|
|
16
16
|
<div>
|
|
17
|
-
<p class="txt16 no-margin ellipsis">
|
|
17
|
+
<p class="txt16 no-margin ellipsis line-height-14">
|
|
18
18
|
{{ title }}
|
|
19
19
|
<slot />
|
|
20
20
|
</p>
|
|
@@ -39,7 +39,8 @@ const compareIds = (v1?: FSValue, v2?: FSValue) => [v1].flat().join(',') === [v2
|
|
|
39
39
|
|
|
40
40
|
onMounted(() => {
|
|
41
41
|
if (!props.files && [file_bindkeys.value].flat().length) {
|
|
42
|
-
const ids = [file_bindkeys.value].flat()
|
|
42
|
+
const ids = [file_bindkeys.value].flat().filter(Boolean)
|
|
43
|
+
if (!ids.length) return
|
|
43
44
|
if (props.multiple) {
|
|
44
45
|
ids.forEach((id) => {
|
|
45
46
|
void bagel.get<StorageFile>(`/files/${id}`).then((file) => {
|
|
@@ -24,6 +24,7 @@ const checked = defineModel<boolean>('modelValue', { default: false })
|
|
|
24
24
|
<style scoped>
|
|
25
25
|
.bgl-checkbox {
|
|
26
26
|
position: relative;
|
|
27
|
+
transition: var(--bgl-transition);
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
.bgl-checkbox input[type=checkbox] {
|
|
@@ -50,7 +51,7 @@ const checked = defineModel<boolean>('modelValue', { default: false })
|
|
|
50
51
|
position: absolute;
|
|
51
52
|
display: inline-block;
|
|
52
53
|
height: calc(var(--input-height) / 2);
|
|
53
|
-
width: var(--input-height);
|
|
54
|
+
width: calc(var(--input-height) - 2px);
|
|
54
55
|
border-radius: var(--input-height);
|
|
55
56
|
background: var(--bgl-gray);
|
|
56
57
|
outline: 1px solid var(--border-color);
|
|
@@ -72,23 +73,25 @@ const checked = defineModel<boolean>('modelValue', { default: false })
|
|
|
72
73
|
right: 0;
|
|
73
74
|
bottom: 0;
|
|
74
75
|
background: var(--input-bg);
|
|
75
|
-
-webkit-transition: 0.
|
|
76
|
-
transition: 0.
|
|
76
|
+
-webkit-transition: 0.2s;
|
|
77
|
+
transition: 0.2s;
|
|
77
78
|
border-radius: calc(var(--input-height) / 2);
|
|
78
79
|
box-shadow: inset 0 0 10px #00000020;
|
|
80
|
+
background: var(--input-bg);
|
|
79
81
|
}
|
|
80
82
|
|
|
81
83
|
.slider:before {
|
|
82
84
|
position: absolute;
|
|
83
85
|
content: "";
|
|
84
|
-
height: calc(var(--input-height) / 2 -
|
|
85
|
-
width: calc(var(--input-height) / 2 -
|
|
86
|
-
|
|
87
|
-
bottom:
|
|
86
|
+
height: calc(var(--input-height) / 2 - 2px);
|
|
87
|
+
width: calc(var(--input-height) / 2 - 2px);
|
|
88
|
+
inset-inline-start: 1px;
|
|
89
|
+
bottom: 1px;
|
|
88
90
|
border-radius: 50%;
|
|
89
91
|
background: var(--bgl-white);
|
|
90
|
-
-webkit-transition: 0.
|
|
91
|
-
transition: 0.
|
|
92
|
+
-webkit-transition: 0.2s;
|
|
93
|
+
transition: 0.2s;
|
|
94
|
+
box-shadow:0 1px 5px 0 rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1);
|
|
92
95
|
}
|
|
93
96
|
|
|
94
97
|
.checked .slider {
|
|
@@ -96,6 +99,6 @@ const checked = defineModel<boolean>('modelValue', { default: false })
|
|
|
96
99
|
}
|
|
97
100
|
|
|
98
101
|
.checked .slider:before {
|
|
99
|
-
|
|
102
|
+
margin-inline-start:calc(var(--input-height) / 2 - 2px) ;
|
|
100
103
|
}
|
|
101
104
|
</style>
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { Icon
|
|
3
|
-
import { watch } from 'vue'
|
|
2
|
+
import { Icon } from '@bagelink/vue'
|
|
3
|
+
import { nextTick, onBeforeUnmount, onMounted, ref, watch } from 'vue'
|
|
4
4
|
import { useTabs } from './tabsManager'
|
|
5
5
|
|
|
6
|
+
interface TabType {
|
|
7
|
+
id?: string
|
|
8
|
+
label?: string
|
|
9
|
+
icon?: string
|
|
10
|
+
}
|
|
11
|
+
|
|
6
12
|
const props = defineProps<{
|
|
7
13
|
title?: string
|
|
8
|
-
tabs:
|
|
14
|
+
tabs: (TabType | string)[]
|
|
9
15
|
modelValue?: string
|
|
10
16
|
sideTabs?: boolean
|
|
11
17
|
group: string
|
|
@@ -14,21 +20,34 @@ const props = defineProps<{
|
|
|
14
20
|
const emit = defineEmits(['update:modelValue'])
|
|
15
21
|
const { currentTab } = useTabs(props.group)
|
|
16
22
|
currentTab.value
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
23
|
+
= props.modelValue || typeof props.tabs[0] === 'string'
|
|
24
|
+
? props.tabs[0]
|
|
25
|
+
: props.tabs[0].id
|
|
26
|
+
|
|
27
|
+
const tabsWrap = ref<HTMLElement | null>(null)
|
|
28
|
+
const tabs = ref<HTMLElement[]>([])
|
|
29
|
+
|
|
30
|
+
function updateIndicator() {
|
|
31
|
+
const activeTab = tabs.value.find(tab => tab.classList.contains('active'))
|
|
32
|
+
if (activeTab && tabsWrap.value) {
|
|
33
|
+
const { offsetLeft, offsetWidth } = activeTab
|
|
34
|
+
tabsWrap.value.style.setProperty('--indicator-left', `${offsetLeft}px`)
|
|
35
|
+
tabsWrap.value.style.setProperty('--indicator-width', `${offsetWidth}px`)
|
|
36
|
+
}
|
|
37
|
+
}
|
|
20
38
|
|
|
21
|
-
function selectTab(tab:
|
|
39
|
+
function selectTab(tab: TabType | string) {
|
|
22
40
|
currentTab.value = typeof tab === 'string' ? tab : tab.id
|
|
23
41
|
emit('update:modelValue', currentTab.value)
|
|
42
|
+
nextTick(() => { updateIndicator() })
|
|
24
43
|
}
|
|
25
44
|
|
|
26
|
-
function isActive(tab:
|
|
45
|
+
function isActive(tab: TabType | string) {
|
|
27
46
|
if (typeof tab === 'string') return currentTab.value === tab
|
|
28
47
|
return currentTab.value === tab.id
|
|
29
48
|
}
|
|
30
49
|
|
|
31
|
-
function tabLabel(tab:
|
|
50
|
+
function tabLabel(tab: TabType | string) {
|
|
32
51
|
if (typeof tab === 'string') return tab
|
|
33
52
|
return tab.label
|
|
34
53
|
}
|
|
@@ -37,19 +56,29 @@ watch(
|
|
|
37
56
|
() => props.modelValue,
|
|
38
57
|
(value) => {
|
|
39
58
|
if (value && !isActive(value)) currentTab.value = value
|
|
59
|
+
nextTick(() => { updateIndicator() })
|
|
40
60
|
},
|
|
41
|
-
{ immediate: true }
|
|
61
|
+
{ immediate: true }
|
|
42
62
|
)
|
|
63
|
+
|
|
64
|
+
onMounted(() => {
|
|
65
|
+
tabs.value = Array.from(tabsWrap.value?.querySelectorAll('.bgl_tab') || [])
|
|
66
|
+
updateIndicator()
|
|
67
|
+
window.addEventListener('resize', updateIndicator)
|
|
68
|
+
})
|
|
69
|
+
onBeforeUnmount(() => {
|
|
70
|
+
window.removeEventListener('resize', updateIndicator)
|
|
71
|
+
})
|
|
43
72
|
</script>
|
|
44
73
|
|
|
45
74
|
<template>
|
|
46
|
-
<div class="grid auto-flow-columns fit-content bgl_tabs_wrap">
|
|
75
|
+
<div ref="tabsWrap" class="grid auto-flow-columns relative fit-content bgl_tabs_wrap">
|
|
47
76
|
<button
|
|
48
|
-
v-for="(tab, i) in tabs"
|
|
77
|
+
v-for="(tab, i) in props.tabs"
|
|
49
78
|
:key="i"
|
|
50
79
|
type="button"
|
|
51
80
|
:class="{ active: isActive(tab) }"
|
|
52
|
-
class="bgl_tab"
|
|
81
|
+
class="bgl_tab relative z-1"
|
|
53
82
|
@click="selectTab(tab)"
|
|
54
83
|
>
|
|
55
84
|
<Icon v-if="typeof tab !== 'string' && tab.icon" :icon="tab.icon" />
|
|
@@ -67,37 +96,33 @@ watch(
|
|
|
67
96
|
box-shadow: inset 0 0 10px #00000012;
|
|
68
97
|
gap: 0.25rem;
|
|
69
98
|
}
|
|
99
|
+
|
|
70
100
|
.bgl_tab {
|
|
71
101
|
border: none;
|
|
72
102
|
background: transparent;
|
|
73
103
|
cursor: pointer;
|
|
74
104
|
font-size: var(--input-font-size);
|
|
75
105
|
font-family: inherit;
|
|
76
|
-
transition: var(--bgl-transition);
|
|
77
106
|
padding-inline: calc(var(--btn-padding) / 2);
|
|
78
107
|
padding-block: calc(var(--btn-padding) / 8);
|
|
79
108
|
border-radius: var(--input-border-radius);
|
|
80
|
-
|
|
81
|
-
.bgl_tab.currentTab,
|
|
82
|
-
.bgl_tab.active {
|
|
83
|
-
background: var(--bgl-white);
|
|
84
|
-
box-shadow: 0 0 10px #00000011;
|
|
85
|
-
position: relative;
|
|
109
|
+
transition: var(--bgl-transition);
|
|
86
110
|
}
|
|
87
111
|
|
|
88
112
|
.bgl_tab:hover {
|
|
89
|
-
background:
|
|
90
|
-
filter: brightness(95%);
|
|
91
|
-
}
|
|
92
|
-
.bgl_tab.currentTab:hover,
|
|
93
|
-
.bgl_tab.active:hover {
|
|
94
|
-
background: var(--bgl-white);
|
|
95
|
-
filter: brightness(100%);
|
|
96
|
-
box-shadow: 0 0 10px #00000022;
|
|
113
|
+
background: rgba(255, 255, 255, .4);
|
|
97
114
|
}
|
|
98
115
|
|
|
99
|
-
.
|
|
100
|
-
|
|
101
|
-
|
|
116
|
+
.bgl_tabs_wrap::before {
|
|
117
|
+
content: '';
|
|
118
|
+
position: absolute;
|
|
119
|
+
top: calc(var(--btn-padding) / 8);
|
|
120
|
+
bottom: calc(var(--btn-padding) / 8);
|
|
121
|
+
left: var(--indicator-left, 0);
|
|
122
|
+
width: var(--indicator-width, 0);
|
|
123
|
+
background: var(--bgl-white);
|
|
124
|
+
border-radius: var(--input-border-radius);
|
|
125
|
+
transition: var(--bgl-transition);
|
|
126
|
+
z-index: 0;
|
|
102
127
|
}
|
|
103
128
|
</style>
|
|
@@ -427,6 +427,9 @@
|
|
|
427
427
|
object-fit: scale-down;
|
|
428
428
|
}
|
|
429
429
|
|
|
430
|
+
.shadow-light {
|
|
431
|
+
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1) !important;
|
|
432
|
+
}
|
|
430
433
|
|
|
431
434
|
|
|
432
435
|
@media screen and (max-width: 910px) {
|
|
@@ -854,4 +857,9 @@
|
|
|
854
857
|
.m_object-fit-scale-down {
|
|
855
858
|
object-fit: scale-down;
|
|
856
859
|
}
|
|
860
|
+
|
|
861
|
+
.m_shadow-light {
|
|
862
|
+
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1) !important;
|
|
863
|
+
}
|
|
864
|
+
|
|
857
865
|
}
|
package/src/styles/inputs.css
CHANGED
|
@@ -50,6 +50,7 @@ select {
|
|
|
50
50
|
width: 100%;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
|
|
53
54
|
.bagel-input input::placeholder,
|
|
54
55
|
.bagel-input textarea::placeholder,
|
|
55
56
|
.bagel-input select::placeholder,
|
|
@@ -100,6 +101,7 @@ select {
|
|
|
100
101
|
.bagel-input .switch.no-edit {
|
|
101
102
|
pointer-events: none;
|
|
102
103
|
outline: none;
|
|
104
|
+
opacity: .7;
|
|
103
105
|
}
|
|
104
106
|
|
|
105
107
|
.bagel-input label.active {
|
|
@@ -150,6 +152,22 @@ select {
|
|
|
150
152
|
box-shadow: inset 0 0 10px #00000012;
|
|
151
153
|
}
|
|
152
154
|
|
|
155
|
+
.bagel-input.light-input input,
|
|
156
|
+
.bagel-input.light-input textarea,
|
|
157
|
+
.bagel-input.light-input select,
|
|
158
|
+
.custom-select.light-input .input {
|
|
159
|
+
background: var(--bgl-white) !important;
|
|
160
|
+
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1) !important;
|
|
161
|
+
outline: 1px solid var(--border-color) !important;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.input.active.light-input,
|
|
165
|
+
.bagel-input.light-input input:focus-visible,
|
|
166
|
+
.bagel-input.light-input select:focus-visible,
|
|
167
|
+
.bagel-input.light-input textarea:focus-visible {
|
|
168
|
+
box-shadow: inset 0 0 2px var(--bgl-black) !important;
|
|
169
|
+
}
|
|
170
|
+
|
|
153
171
|
.bagel-input input[type="number"]::-webkit-inner-spin-button,
|
|
154
172
|
.bagel-input input[type="number"]::-webkit-outer-spin-button {
|
|
155
173
|
-webkit-appearance: none;
|
package/src/styles/layout.css
CHANGED
|
@@ -576,6 +576,10 @@
|
|
|
576
576
|
margin-bottom: 1rem !important;
|
|
577
577
|
}
|
|
578
578
|
|
|
579
|
+
.mb-1-5 {
|
|
580
|
+
margin-bottom: 1.5rem !important;
|
|
581
|
+
}
|
|
582
|
+
|
|
579
583
|
.mb-2 {
|
|
580
584
|
margin-bottom: 2rem !important;
|
|
581
585
|
}
|
|
@@ -612,6 +616,10 @@
|
|
|
612
616
|
margin-top: 1rem !important;
|
|
613
617
|
}
|
|
614
618
|
|
|
619
|
+
.mt-1-5 {
|
|
620
|
+
margin-top: 1.5rem !important;
|
|
621
|
+
}
|
|
622
|
+
|
|
615
623
|
.mt-2 {
|
|
616
624
|
margin-top: 2rem !important;
|
|
617
625
|
}
|
|
@@ -654,6 +662,11 @@
|
|
|
654
662
|
margin-bottom: 1rem !important;
|
|
655
663
|
}
|
|
656
664
|
|
|
665
|
+
.my-1-5 {
|
|
666
|
+
margin-top: 1.5rem !important;
|
|
667
|
+
margin-bottom: 1.5rem !important;
|
|
668
|
+
}
|
|
669
|
+
|
|
657
670
|
.my-2 {
|
|
658
671
|
margin-top: 2rem !important;
|
|
659
672
|
margin-bottom: 2rem !important;
|
|
@@ -693,6 +706,10 @@
|
|
|
693
706
|
margin-inline-start: 1rem !important;
|
|
694
707
|
}
|
|
695
708
|
|
|
709
|
+
.ms-1-5 {
|
|
710
|
+
margin-inline-start: 1.5rem !important;
|
|
711
|
+
}
|
|
712
|
+
|
|
696
713
|
.ms-2 {
|
|
697
714
|
margin-inline-start: 2rem !important;
|
|
698
715
|
}
|
|
@@ -729,6 +746,10 @@
|
|
|
729
746
|
margin-inline-end: 1rem !important;
|
|
730
747
|
}
|
|
731
748
|
|
|
749
|
+
.me-1-5 {
|
|
750
|
+
margin-inline-end: 1.5rem !important;
|
|
751
|
+
}
|
|
752
|
+
|
|
732
753
|
.me-2 {
|
|
733
754
|
margin-inline-end: 2rem !important;
|
|
734
755
|
}
|
|
@@ -772,6 +793,11 @@
|
|
|
772
793
|
margin-inline-end: 1rem !important;
|
|
773
794
|
}
|
|
774
795
|
|
|
796
|
+
.mx-1-5 {
|
|
797
|
+
margin-inline-start: 1.5rem !important;
|
|
798
|
+
margin-inline-end: 1.5rem !important;
|
|
799
|
+
}
|
|
800
|
+
|
|
775
801
|
.mx-2 {
|
|
776
802
|
margin-inline-start: 2rem !important;
|
|
777
803
|
margin-inline-end: 2rem !important;
|
|
@@ -811,6 +837,10 @@
|
|
|
811
837
|
margin: 1rem !important;
|
|
812
838
|
}
|
|
813
839
|
|
|
840
|
+
.m-1-5 {
|
|
841
|
+
margin: 1.5rem !important;
|
|
842
|
+
}
|
|
843
|
+
|
|
814
844
|
.m-2 {
|
|
815
845
|
margin: 2rem !important;
|
|
816
846
|
}
|
|
@@ -839,6 +869,10 @@
|
|
|
839
869
|
margin-bottom: -1rem !important;
|
|
840
870
|
}
|
|
841
871
|
|
|
872
|
+
.-mb-1-5 {
|
|
873
|
+
margin-bottom: -1.5rem !important;
|
|
874
|
+
}
|
|
875
|
+
|
|
842
876
|
.-mb-2 {
|
|
843
877
|
margin-bottom: -2rem !important;
|
|
844
878
|
}
|
|
@@ -867,6 +901,10 @@
|
|
|
867
901
|
margin-top: -1rem !important;
|
|
868
902
|
}
|
|
869
903
|
|
|
904
|
+
.-mt-1-5 {
|
|
905
|
+
margin-top: -1.5rem !important;
|
|
906
|
+
}
|
|
907
|
+
|
|
870
908
|
.-mt-2 {
|
|
871
909
|
margin-top: -2rem !important;
|
|
872
910
|
}
|
|
@@ -899,6 +937,11 @@
|
|
|
899
937
|
margin-bottom: -1rem !important;
|
|
900
938
|
}
|
|
901
939
|
|
|
940
|
+
.-my-1-5 {
|
|
941
|
+
margin-top: -1.5rem !important;
|
|
942
|
+
margin-bottom: -1.5rem !important;
|
|
943
|
+
}
|
|
944
|
+
|
|
902
945
|
.-my-2 {
|
|
903
946
|
margin-top: -2rem !important;
|
|
904
947
|
margin-bottom: -2rem !important;
|
|
@@ -930,6 +973,10 @@
|
|
|
930
973
|
margin-inline-start: -1rem !important;
|
|
931
974
|
}
|
|
932
975
|
|
|
976
|
+
.-ms-1-5 {
|
|
977
|
+
margin-inline-start: -1.5rem !important;
|
|
978
|
+
}
|
|
979
|
+
|
|
933
980
|
.-ms-2 {
|
|
934
981
|
margin-inline-start: -2rem !important;
|
|
935
982
|
}
|
|
@@ -958,6 +1005,10 @@
|
|
|
958
1005
|
margin-inline-end: -1rem !important;
|
|
959
1006
|
}
|
|
960
1007
|
|
|
1008
|
+
.-me-1-5 {
|
|
1009
|
+
margin-inline-end: -1.5rem !important;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
961
1012
|
.-me-2 {
|
|
962
1013
|
margin-inline-end: -2rem !important;
|
|
963
1014
|
}
|
|
@@ -978,6 +1029,10 @@
|
|
|
978
1029
|
padding-bottom: 1rem !important;
|
|
979
1030
|
}
|
|
980
1031
|
|
|
1032
|
+
.pb-1-5 {
|
|
1033
|
+
padding-bottom: 1.5rem !important;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
981
1036
|
.pb-2 {
|
|
982
1037
|
padding-bottom: 2rem !important;
|
|
983
1038
|
}
|
|
@@ -1010,6 +1065,10 @@
|
|
|
1010
1065
|
padding-top: 1rem !important;
|
|
1011
1066
|
}
|
|
1012
1067
|
|
|
1068
|
+
.pt-1-5 {
|
|
1069
|
+
padding-top: 1.5rem !important;
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1013
1072
|
.pt-2 {
|
|
1014
1073
|
padding-top: 2rem !important;
|
|
1015
1074
|
}
|
|
@@ -1042,6 +1101,10 @@
|
|
|
1042
1101
|
padding-inline-start: 1rem !important;
|
|
1043
1102
|
}
|
|
1044
1103
|
|
|
1104
|
+
.ps-1-5 {
|
|
1105
|
+
padding-inline-start: 1.5rem !important;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1045
1108
|
.ps-2 {
|
|
1046
1109
|
padding-inline-start: 2rem !important;
|
|
1047
1110
|
}
|
|
@@ -1074,6 +1137,10 @@
|
|
|
1074
1137
|
padding-inline-end: 1rem !important;
|
|
1075
1138
|
}
|
|
1076
1139
|
|
|
1140
|
+
.pe-1-5 {
|
|
1141
|
+
padding-inline-end: 1.5rem !important;
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1077
1144
|
.pe-2 {
|
|
1078
1145
|
padding-inline-end: 2rem !important;
|
|
1079
1146
|
}
|
|
@@ -1108,6 +1175,11 @@
|
|
|
1108
1175
|
padding-inline-start: 1rem !important;
|
|
1109
1176
|
}
|
|
1110
1177
|
|
|
1178
|
+
.px-1-5 {
|
|
1179
|
+
padding-inline-end: 1.5rem !important;
|
|
1180
|
+
padding-inline-start: 1.5rem !important;
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1111
1183
|
.px-2 {
|
|
1112
1184
|
padding-inline-end: 2rem !important;
|
|
1113
1185
|
padding-inline-start: 2rem !important;
|
|
@@ -1148,6 +1220,11 @@
|
|
|
1148
1220
|
padding-bottom: 1rem !important;
|
|
1149
1221
|
}
|
|
1150
1222
|
|
|
1223
|
+
.py-1-5 {
|
|
1224
|
+
padding-top: 1.5rem !important;
|
|
1225
|
+
padding-bottom: 1.5rem !important;
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1151
1228
|
.py-2 {
|
|
1152
1229
|
padding-top: 2rem !important;
|
|
1153
1230
|
padding-bottom: 2rem !important;
|
|
@@ -1186,6 +1263,10 @@
|
|
|
1186
1263
|
padding: 1rem !important;
|
|
1187
1264
|
}
|
|
1188
1265
|
|
|
1266
|
+
.p-1-5 {
|
|
1267
|
+
padding: 1.5rem !important;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1189
1270
|
.p-2 {
|
|
1190
1271
|
padding: 2rem !important;
|
|
1191
1272
|
}
|
|
@@ -1663,6 +1744,18 @@
|
|
|
1663
1744
|
overflow: unset;
|
|
1664
1745
|
}
|
|
1665
1746
|
|
|
1747
|
+
.overflow-scroll {
|
|
1748
|
+
overflow: scroll;
|
|
1749
|
+
}
|
|
1750
|
+
|
|
1751
|
+
.overflow-x-scroll {
|
|
1752
|
+
overflow-x: scroll;
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
.overflow-y-scroll {
|
|
1756
|
+
overflow-y: scroll;
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1666
1759
|
.overflow-x {
|
|
1667
1760
|
overflow-x: auto;
|
|
1668
1761
|
}
|