@timus-networks/theme 2.4.141 → 2.4.143

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/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@timus-networks/theme",
3
3
  "configKey": "themeOptions",
4
- "version": "2.4.140",
4
+ "version": "2.4.142",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "2.0.0"
package/dist/module.mjs CHANGED
@@ -11,7 +11,7 @@ const __filename = __cjs_url__.fileURLToPath(import.meta.url);
11
11
  const __dirname = __cjs_path__.dirname(__filename);
12
12
  const require = __cjs_mod__.createRequire(import.meta.url);
13
13
  const name = "@timus-networks/theme";
14
- const version = "2.4.140";
14
+ const version = "2.4.142";
15
15
  const description = "A comprehensive Nuxt.js module providing a tailored theme experience with integrated TailwindCSS support for applications.";
16
16
  const type = "module";
17
17
  const exports = {
@@ -2405,6 +2405,7 @@ body {
2405
2405
  }
2406
2406
  .el-button:empty {
2407
2407
  padding: 0;
2408
+ min-width: 36px;
2408
2409
  }
2409
2410
  .el-button:hover {
2410
2411
  color: var(--el-button-hover-text-color);
@@ -10312,7 +10313,7 @@ heights > $common-component-size
10312
10313
  height: 100%;
10313
10314
  display: inline-flex;
10314
10315
  align-items: center;
10315
- color: var(--el-color-info);
10316
+ color: var(--el-color-neutral-light-3);
10316
10317
  font-size: 12px;
10317
10318
  }
10318
10319
  .el-input .el-input__count .el-input__count-inner {
@@ -11140,7 +11141,8 @@ heights > $common-component-size
11140
11141
  --el-menu-text-color: var(--el-color-neutral-light-9);
11141
11142
  --el-menu-hover-text-color: var(--el-color-primary);
11142
11143
  --el-menu-bg-color: var(--el-color-white);
11143
- --el-menu-hover-bg-color: var(--el-color-white);
11144
+ --el-menu-hover-bg-color: var(--el-color-neutral-light-1);
11145
+ --el-menu-pressed-bg-color: var(--el-color-neutral-light-2);
11144
11146
  --el-menu-item-height: 36px;
11145
11147
  --el-menu-sub-item-height: calc(var(--el-menu-item-height) - 0px);
11146
11148
  --el-menu-horizontal-height: 60px;
@@ -11304,7 +11306,7 @@ heights > $common-component-size
11304
11306
  height: var(--el-menu-item-height);
11305
11307
  line-height: var(--el-menu-item-height);
11306
11308
  font-size: var(--el-menu-item-font-size);
11307
- color: var(--el-menu-text-color);
11309
+ color: var(--el-color-neutral-light-9);
11308
11310
  padding: var(--el-menu-base-level-padding);
11309
11311
  list-style: none;
11310
11312
  cursor: pointer;
@@ -11324,7 +11326,11 @@ heights > $common-component-size
11324
11326
  }
11325
11327
  .el-menu-item:hover {
11326
11328
  background-color: var(--el-menu-hover-bg-color);
11327
- color: var(--el-color-primary);
11329
+ color: var(--el-color-neutral-light-9);
11330
+ }
11331
+ .el-menu-item:active {
11332
+ background-color: var(--el-menu-pressed-bg-color);
11333
+ color: var(--el-color-neutral-light-9);
11328
11334
  }
11329
11335
  .el-menu-item.is-disabled {
11330
11336
  opacity: 0.25;
@@ -11370,7 +11376,7 @@ heights > $common-component-size
11370
11376
  height: var(--el-menu-item-height);
11371
11377
  line-height: var(--el-menu-item-height);
11372
11378
  font-size: var(--el-menu-item-font-size);
11373
- color: var(--el-menu-text-color);
11379
+ color: var(--el-color-neutral-light-9);
11374
11380
  padding: var(--el-menu-base-level-padding);
11375
11381
  list-style: none;
11376
11382
  cursor: pointer;
@@ -11390,7 +11396,11 @@ heights > $common-component-size
11390
11396
  }
11391
11397
  .el-sub-menu__title:hover {
11392
11398
  background-color: var(--el-menu-hover-bg-color);
11393
- color: var(--el-color-primary);
11399
+ color: var(--el-color-neutral-light-9);
11400
+ }
11401
+ .el-sub-menu__title:active {
11402
+ background-color: var(--el-menu-pressed-bg-color);
11403
+ color: var(--el-color-neutral-light-9);
11394
11404
  }
11395
11405
  .el-sub-menu__title.is-disabled {
11396
11406
  opacity: 0.25;
@@ -12238,10 +12248,6 @@ heights > $common-component-size
12238
12248
  .el-pagination__total[disabled=true] {
12239
12249
  color: var(--el-text-color-placeholder);
12240
12250
  }
12241
- .el-pagination__total::after {
12242
- content: "Records";
12243
- padding-left: 4px;
12244
- }
12245
12251
 
12246
12252
  .el-pagination__jump {
12247
12253
  display: flex;
@@ -16897,6 +16903,13 @@ mark.el-text {
16897
16903
  height: calc(50% - 10px);
16898
16904
  }
16899
16905
 
16906
+ .el-tooltip.el-popper.is-dark {
16907
+ padding: 8px 16px;
16908
+ background-color: var(--el-color-neutral-light-9);
16909
+ color: var(--el-color-neutral-light-6);
16910
+ box-shadow: 0 2px 2px 0 var(--el-color-neutral-light-6);
16911
+ }
16912
+
16900
16913
  .el-tooltip-v2__content {
16901
16914
  --el-tooltip-v2-padding: 5px 10px;
16902
16915
  --el-tooltip-v2-border-radius: 4px;
@@ -18034,15 +18047,6 @@ mark.el-text {
18034
18047
  border-right-color: transparent !important;
18035
18048
  border-top-color: transparent !important;
18036
18049
  }
18037
- .el-popper[data-popper-placement$=-end] > .el-popper__arrow {
18038
- left: auto !important;
18039
- right: 10px !important;
18040
- }
18041
- .el-popper[data-popper-placement$=-start] > .el-popper__arrow {
18042
- right: auto !important;
18043
- left: 10px !important;
18044
- }
18045
-
18046
18050
  .el-statistic {
18047
18051
  --el-statistic-title-font-weight: 400;
18048
18052
  --el-statistic-title-font-size: var(--el-font-size-tiny);
@@ -57,10 +57,10 @@
57
57
  <el-time-picker v-model="form.date2" placeholder="Pick a time" style="width: 100%" />
58
58
  </el-col>
59
59
  </el-form-item>
60
- <el-form-item class="flex gap-7">
61
- <el-button class="mr-7.5" type="primary" @click="onSubmit">Create</el-button>
62
- <el-button>Cancel</el-button>
63
- </el-form-item>
60
+ <div class="page-footer">
61
+ <el-button type="secondary" @click="submitForm(ruleFormRef)"> Create </el-button>
62
+ <el-button @click="resetForm(ruleFormRef)">Reset</el-button>
63
+ </div>
64
64
  </el-form>
65
65
  </div>
66
66
  </div>
@@ -230,10 +230,10 @@
230
230
  <el-form-item label="Activity form" prop="desc">
231
231
  <el-input v-model="ruleForm.desc" type="textarea" />
232
232
  </el-form-item>
233
- <el-form-item>
234
- <el-button type="primary" class="mr-7.5" @click="submitForm(ruleFormRef)"> Create </el-button>
233
+ <div class="page-footer">
234
+ <el-button type="secondary" @click="submitForm(ruleFormRef)"> Create </el-button>
235
235
  <el-button @click="resetForm(ruleFormRef)">Reset</el-button>
236
- </el-form-item>
236
+ </div>
237
237
  </el-form>
238
238
  </div>
239
239
  </div>
@@ -293,10 +293,10 @@
293
293
  <el-radio border value="Venue">Venue</el-radio>
294
294
  </el-radio-group>
295
295
  </el-form-item>
296
- <el-form-item>
297
- <el-button type="primary" class="mr-7.5" @click="onSubmit">Create</el-button>
298
- <el-button>Cancel</el-button>
299
- </el-form-item>
296
+ <div class="page-footer">
297
+ <el-button type="secondary" @click="submitForm(ruleFormRef)"> Create </el-button>
298
+ <el-button @click="resetForm(ruleFormRef)">Reset</el-button>
299
+ </div>
300
300
  </el-form>
301
301
  </div>
302
302
  </div>
@@ -18,6 +18,8 @@
18
18
  placeholder="Please input"
19
19
  :size="size !== 'default' ? size : undefined"
20
20
  :prefix-icon="ElIconSearch"
21
+ show-word-limit
22
+ maxlength="30"
21
23
  />
22
24
  </div>
23
25
  </div>
@@ -50,7 +52,16 @@
50
52
  <div class="flex flex-col gap-3 items-start">
51
53
  <p>Make the Input clearable with the <el-text tag="mark">clearable</el-text> attribute.</p>
52
54
  <div class="flex gap-4">
53
- <el-input v-for="(size, index) of sizes" :key="size + index" v-model="input" placeholder="Please input" v-bind="size !== 'default' ? { size } : {}" clearable />
55
+ <el-input
56
+ v-for="(size, index) of sizes"
57
+ :key="size + index"
58
+ v-model="input"
59
+ show-word-limit
60
+ maxlength="30"
61
+ placeholder="Please input"
62
+ v-bind="size !== 'default' ? { size } : {}"
63
+ clearable
64
+ />
54
65
  </div>
55
66
  </div>
56
67
  <template #footer>
@@ -0,0 +1,355 @@
1
+ s
2
+ <template>
3
+ <div class="flex flex-col gap-8 mb-16">
4
+ <h1 class="">Form</h1>
5
+ <p>Form consists of input, radio, select, checkbox and so on. With form, you can collect, verify and submit data.</p>
6
+
7
+ <el-card>
8
+ <template #header>Basic Form</template>
9
+ <div class="flex flex-col gap-3 items-start">
10
+ <p>
11
+ It includes all kinds of input items, such as input, select, radio and checkbox. In each form component, you need a form-item field to be the container of your input
12
+ item.
13
+ </p>
14
+ <div class="flex gap-2">
15
+ <el-button @click="collapsed = !collapsed">Toggle</el-button>
16
+ <el-menu
17
+ id="el-menu-primary"
18
+ ref="menuRef"
19
+ data-testid="components-sidebar-vgcvofuzyo"
20
+ :default-active="computedStates.active_item.to"
21
+ class="w-full overflow-hidden !px-4 overflow-y-auto"
22
+ :router="true"
23
+ :unique-opened="true"
24
+ :collapse-transition="false"
25
+ :collapse="collapsed"
26
+ >
27
+ <el-menu-item v-index index="/" class="mat-grid-view" data-testid="components-sidebar-ycllqnbrv">
28
+ <template #title>{{ $t('sidebar.dashboard.text') }}</template>
29
+ </el-menu-item>
30
+ <el-menu-item v-index index="/users" class="mat-person" data-testid="components-sidebar-lhxzcthocp">
31
+ <template #title>{{ $t('sidebar.teams.text') }}</template>
32
+ </el-menu-item>
33
+ <el-menu-item v-index index="/devices" class="mat-devices" data-testid="components-sidebar-mpftdiklbu">
34
+ <template #title>{{ $t('sidebar.devices.text') }}</template>
35
+ </el-menu-item>
36
+ <el-menu-item v-index index="/agent-configuration" class="mat-folder-eye" data-testid="sidebar-agent-configuration">
37
+ <template #title>{{ $t('sidebar.agent_configuration.text') }}</template>
38
+ </el-menu-item>
39
+ <el-menu-item v-index data-testid="components-sidebar-yzjnblrbvn" index="/sites" regex="/sites" class="mat-lan">
40
+ <template #title>{{ $t(config.TP === 'berqnet' ? 'sidebar.sites.text' : 'sites.text') }}</template>
41
+ </el-menu-item>
42
+ <el-sub-menu v-index index="/rules" data-testid="components-sidebar-tmdvrlndak">
43
+ <template #title>
44
+ <i class="mat-rule" />
45
+ <span>{{ $t('sidebar.rules.text') }}</span>
46
+ </template>
47
+ <el-menu-item v-index index="/rules/firewall" data-testid="components-sidebar-pezlxnffvl">
48
+ <template #title>{{ $t('sidebar.rules.firewall.text') }}</template>
49
+ </el-menu-item>
50
+ <el-menu-item v-if="config.TP === 'berqnet'" v-index index="/rules/routes/static" data-testid="components-sidebar-jvruigbwdp">
51
+ <template #title>{{ $t('sidebar.rules.routes.text') }}</template>
52
+ </el-menu-item>
53
+ <el-menu-item v-index index="/rules/forwarding" data-testid="components-sidebar-iizzyuvzkh">
54
+ <template #title>{{ $t('sidebar.rules.forwarding.text') }}</template>
55
+ </el-menu-item>
56
+ <!-- TODO: This feature will open after all controller versions are 14.0.0 v-if="false" <el-menu-item v-index index="/rules/qos" data-testid="components-sidebar-krxfszjkyp"> {{ $t('sidebar.rules.qos.text') }} </el-menu-item> -->
57
+ <el-menu-item v-index index="/rules/categories" data-testid="components-sidebar-ptienrknds">
58
+ <template #title>{{ $t('sidebar.settings.categories.text') }}</template>
59
+ </el-menu-item>
60
+ </el-sub-menu>
61
+ <el-sub-menu v-index index="/ztna" data-testid="components-sidebar-bnihbcpjuh">
62
+ <template #title>
63
+ <i class="mat-shield" />
64
+ <span>{{ $t('sidebar.ztna.text') }}</span>
65
+ </template>
66
+ <el-menu-item v-index index="/ztna/dashboard" data-testid="components-sidebar-nettrmotu">
67
+ <template #title>{{ $t('sidebar.ztna.dashboard.text') }}</template>
68
+ </el-menu-item>
69
+ <el-menu-item v-index index="/ztna/behavior-detection" data-testid="components-sidebar-svzpertkjn">
70
+ <template #title>{{ $t('sidebar.ztna.behaviors.text') }}</template>
71
+ </el-menu-item>
72
+ <el-menu-item v-index index="/ztna/device-posture-check" data-testid="components-sidebar-oreuewhqhj">
73
+ <template #title>{{ $t('sidebar.ztna.device_posture_check.text') }}</template>
74
+ </el-menu-item>
75
+ <el-menu-item v-index index="/ztna/user-sign-on-policies" data-testid="components-sidebar-voglodqvvx">
76
+ <template #title>{{ $t('sidebar.ztna.user_sign_on_policies.text') }}</template>
77
+ </el-menu-item>
78
+ <el-menu-item v-index index="/ztna/admin-sign-on-policies" data-testid="components-sidebar-vzizrrtpzn">
79
+ <template #title>{{ $t('sidebar.ztna.admin_sign_on_policies.text') }}</template>
80
+ </el-menu-item>
81
+ </el-sub-menu>
82
+ <el-sub-menu v-index index="/insights" data-testid="components-sidebar-neymnnlec">
83
+ <template #title>
84
+ <i class="mat-folder-open" />
85
+ <span>{{ $t('sidebar.insights.text') }}</span>
86
+ </template>
87
+ <el-menu-item v-index index="/insights/alerts" data-testid="components-sidebar-mtklcicmi">
88
+ <template #title>{{ $t('sidebar.insights.alerts.text') }}</template>
89
+ </el-menu-item>
90
+ <!--<el-menu-item v-index index="/insights/threats" data-testid="components-sidebar-pfrrtymjti">{{ $t('sidebar.threats.text') }}</el-menu-item>-->
91
+ <el-menu-item v-index index="/insights/network-activity" data-testid="components-sidebar-selflhiujn">
92
+ <template #title>{{ $t('sidebar.insights.all_traffic.text') }}</template>
93
+ </el-menu-item>
94
+ <el-menu-item v-index index="/insights/events" data-testid="components-sidebar-toksfhzzfq">
95
+ <template #title>{{ $t('sidebar.insights.events.text') }}</template>
96
+ </el-menu-item>
97
+ <el-menu-item v-index index="/insights/blocked-ips" data-testid="components-sidebar-kvhegftktx">
98
+ <template #title>{{ $t('sidebar.insights.blocked_ips.text') }}</template>
99
+ </el-menu-item>
100
+ </el-sub-menu>
101
+ <el-sub-menu v-index index="/reports" data-testid="components-sidebar-bnihbcpjuh">
102
+ <template #title>
103
+ <i class="mat-bar-chart" />
104
+ <span>{{ $t('sidebar.reports.text') }}</span>
105
+ </template>
106
+ <el-menu-item v-index index="/reports/automated" data-testid="components-sidebar-cnudlizsfg">
107
+ <template #title>{{ $t('sidebar.insights.reports.text') }}</template>
108
+ </el-menu-item>
109
+ <el-menu-item v-index index="/reports/productivity" data-testid="components-sidebar-ewrnssadfv">
110
+ <template #title>{{ $t('sidebar.insights.tracker.text') }}</template>
111
+ </el-menu-item>
112
+ <el-menu-item v-index index="/reports/device-posture" data-testid="components-sidebar-jdxrecyjwd">
113
+ <template #title>{{ $t('sidebar.insights.device_posture_check_reports.text') }}</template>
114
+ </el-menu-item>
115
+ </el-sub-menu>
116
+ <el-divider class="!my-2 !border-t-neutral-2" />
117
+ <el-sub-menu v-index index="/settings" data-testid="components-sidebar-jcaexatpod">
118
+ <template #title>
119
+ <i class="mat-settings" />
120
+ <span>{{ $t('sidebar.settings.text') }}</span>
121
+ </template>
122
+ <el-menu-item v-index index="/settings/cache-analytics" data-testid="components-sidebar-fswikkipil">
123
+ <template #title>{{ $t('sidebar.settings.cache_analytics.text') }}</template>
124
+ </el-menu-item>
125
+ <el-menu-item v-if="config.TP !== 'timus'" v-index index="/settings/captive-portals" data-testid="components-sidebar-fswikkipil">
126
+ <template #title>{{ $t('sidebar.settings.captive_portal.text') }}</template>
127
+ </el-menu-item>
128
+ <el-menu-item v-index index="/settings/integrations" data-testid="components-sidebar-integrations">
129
+ <template #title>{{ $t('sidebar.settings.integrations.text') }}</template>
130
+ </el-menu-item>
131
+ <el-menu-item v-index index="/settings/configuration" data-testid="components-sidebar-zvuhmrdamh">
132
+ <template #title>{{ $t('sidebar.settings.configuration.text') }}</template>
133
+ </el-menu-item>
134
+ <el-menu-item v-index index="/settings/tags" data-testid="components-sidebar-yxikpneqsi">
135
+ <template #title>{{ $t('sidebar.settings.tags.text') }}</template>
136
+ </el-menu-item>
137
+ <el-menu-item v-index index="/settings/administrators" data-testid="components-sidebar-sjavprmmmj">
138
+ <template #title>{{ $t('sidebar.settings.administrators.text') }}</template>
139
+ </el-menu-item>
140
+ <el-menu-item v-index index="/settings/organization" data-testid="components-sidebar-iywlhkkmta">
141
+ <template #title>{{ $t('sidebar.settings.organization.text') }}</template>
142
+ </el-menu-item>
143
+ <el-menu-item v-index index="/settings/agent-deployment" data-testid="components-sidebar-yxbnijbpmj">
144
+ <template #title>{{ $t('sidebar.settings.agent_deployment.text') }}</template>
145
+ </el-menu-item>
146
+ </el-sub-menu>
147
+ </el-menu>
148
+ </div>
149
+ </div>
150
+
151
+ <template #footer> <html-encode :tag="snippets.basic" /> </template>
152
+ </el-card>
153
+ </div>
154
+ </template>
155
+
156
+ <script lang="ts" setup>
157
+ import { reactive, ref } from 'vue';
158
+
159
+ const config = useRuntimeConfig().public;
160
+ const menuRef = ref();
161
+ const menuIndexes = ref<{ value: string; to: string | undefined }[]>([]);
162
+ const route = useRoute();
163
+ const collapsed = ref(false);
164
+
165
+ /****************************************************************************
166
+ * Computed States
167
+ ****************************************************************************/
168
+
169
+ const computedStates = reactive({
170
+ active_item: computed(() => {
171
+ const currentPath = route.path;
172
+ const sortedIndexes = [...menuIndexes.value].sort((a, b) => b.value.length - a.value.length);
173
+
174
+ const matchingPath = sortedIndexes.find((pattern) => {
175
+ if (currentPath === pattern.value) return true;
176
+ if (currentPath.startsWith(pattern.value)) return true;
177
+
178
+ return false;
179
+ });
180
+
181
+ return matchingPath || { value: '/', to: '/' };
182
+ }),
183
+ });
184
+
185
+ const snippets = ref({
186
+ basic: `
187
+ <el-form :model="form" label-width="auto" :label-position="top" require-asterisk-position="right">
188
+ </el-form>`,
189
+ same_line: `
190
+ <el-form :model="form" label-width="auto" :label-position="top" require-asterisk-position="right">
191
+ <div class="el-form-items">
192
+ <el-form-item label="Activity form">
193
+ <el-input v-model="form.input" />
194
+ </el-form-item>
195
+ <el-form-item label="Activity zone">
196
+ <el-select v-model="form.region" placeholder="please select your zone" class="!w-32">
197
+ <el-option label="Zone one" value="shanghai" />
198
+ <el-option label="Zone two" value="beijing" />
199
+ </el-select>
200
+ </el-form-item>
201
+ <el-form-item>
202
+ <el-button class="isax-add" />
203
+ </el-form-item>
204
+ </div>
205
+ </el-form>`,
206
+ sticky: `
207
+ <el-form :model="form" label-width="auto" :label-position="top" require-asterisk-position="right">
208
+ <div class="el-form-items sticky">
209
+ <el-form-item label="Activity form">
210
+ <el-input v-model="form.input" />
211
+ </el-form-item>
212
+ <el-form-item label="Activity zone">
213
+ <el-select v-model="form.region" placeholder="please select your zone" class="!w-32">
214
+ <el-option label="Zone one" value="shanghai" />
215
+ <el-option label="Zone two" value="beijing" />
216
+ </el-select>
217
+ </el-form-item>
218
+ <el-form-item>
219
+ <el-button class="isax-add" />
220
+ </el-form-item>
221
+ </div>
222
+ </el-form>
223
+ `,
224
+ validation: `
225
+ <el-form
226
+ ref="ruleFormRef"
227
+ style="max-width: 600px"
228
+ :model="ruleForm"
229
+ :rules="rules"
230
+ label-width="auto"
231
+ class="demo-ruleForm"
232
+ :size="formSize"
233
+ status-icon
234
+ require-asterisk-position="right"
235
+ label-position="top"
236
+ />`,
237
+ size: `<el-form size="large" :model="ruleForm" label-width="auto" label-position="top"></el-form>`,
238
+ });
239
+
240
+ // Rules
241
+
242
+ import type { ComponentSize, FormInstance, FormRules } from 'element-plus';
243
+
244
+ interface RuleForm {
245
+ name: string;
246
+ region: string;
247
+ count: string;
248
+ date1: string;
249
+ date2: string;
250
+ delivery: boolean;
251
+ location: string;
252
+ type: string[];
253
+ resource: string;
254
+ desc: string;
255
+ }
256
+
257
+ const formSize = ref<ComponentSize>('default');
258
+ const ruleFormRef = ref<FormInstance>();
259
+
260
+ const ruleForm = reactive<RuleForm>({
261
+ name: 'Hello',
262
+ region: '',
263
+ count: '',
264
+ date1: '',
265
+ date2: '',
266
+ delivery: false,
267
+ location: '',
268
+ type: [],
269
+ resource: '',
270
+ desc: '',
271
+ });
272
+
273
+ const locationOptions = ['Home', 'Company', 'School'];
274
+
275
+ const rules = reactive<FormRules<RuleForm>>({
276
+ name: [
277
+ { required: true, message: 'Please input Activity name', trigger: 'blur' },
278
+ { min: 3, max: 5, message: 'Length should be 3 to 5', trigger: 'blur' },
279
+ ],
280
+ region: [
281
+ {
282
+ required: true,
283
+ message: 'Please select Activity zone',
284
+ trigger: 'change',
285
+ },
286
+ ],
287
+ count: [
288
+ {
289
+ required: true,
290
+ message: 'Please select Activity count',
291
+ trigger: 'change',
292
+ },
293
+ ],
294
+ date1: [
295
+ {
296
+ type: 'date',
297
+ required: true,
298
+ message: 'Please pick a date',
299
+ trigger: 'change',
300
+ },
301
+ ],
302
+ date2: [
303
+ {
304
+ type: 'date',
305
+ required: true,
306
+ message: 'Please pick a time',
307
+ trigger: 'change',
308
+ },
309
+ ],
310
+ location: [
311
+ {
312
+ required: true,
313
+ message: 'Please select a location',
314
+ trigger: 'change',
315
+ },
316
+ ],
317
+ type: [
318
+ {
319
+ type: 'array',
320
+ required: true,
321
+ message: 'Please select at least one activity type',
322
+ trigger: 'change',
323
+ },
324
+ ],
325
+ resource: [
326
+ {
327
+ required: true,
328
+ message: 'Please select activity resource',
329
+ trigger: 'change',
330
+ },
331
+ ],
332
+ desc: [{ required: true, message: 'Please input activity form', trigger: 'blur' }],
333
+ });
334
+
335
+ const submitForm = async (formEl: FormInstance | undefined) => {
336
+ if (!formEl) return;
337
+ await formEl.validate((valid: boolean, fields) => {
338
+ if (valid) {
339
+ console.log('submit!');
340
+ } else {
341
+ console.log('error submit!', fields);
342
+ }
343
+ });
344
+ };
345
+
346
+ const resetForm = (formEl: FormInstance | undefined) => {
347
+ if (!formEl) return;
348
+ formEl.resetFields();
349
+ };
350
+
351
+ const options = Array.from({ length: 10000 }).map((_, idx) => ({
352
+ value: `${idx + 1}`,
353
+ label: `${idx + 1}`,
354
+ }));
355
+ </script>
@@ -16,48 +16,48 @@
16
16
  <section class="flex gap-7.5">
17
17
  <div class="flex flex-col items-center gap-4 grow w-[600px]">
18
18
  <div class="flex gap-7.5">
19
- <el-tooltip class="box-item" effect="dark" content="Top Left prompts info" placement="top-start">
19
+ <el-tooltip trigger="click" class="box-item" effect="dark" content="Top Left prompts info" placement="top-start">
20
20
  <el-button>top-start</el-button>
21
21
  </el-tooltip>
22
- <el-tooltip class="box-item" effect="dark" content="Top Center prompts info" placement="top">
22
+ <el-tooltip trigger="click" class="box-item" effect="dark" content="Top Center prompts info" placement="top">
23
23
  <el-button>top</el-button>
24
24
  </el-tooltip>
25
- <el-tooltip class="box-item" effect="dark" content="Top Right prompts info" placement="top-end">
25
+ <el-tooltip trigger="click" class="box-item" effect="dark" content="Top Right prompts info" placement="top-end">
26
26
  <el-button>top-end</el-button>
27
27
  </el-tooltip>
28
28
  </div>
29
29
  <div class="flex gap-7.5">
30
- <el-tooltip class="box-item" effect="dark" content="Left Top prompts info" placement="left-start">
30
+ <el-tooltip trigger="click" class="box-item" effect="dark" content="Left Top prompts info" placement="left-start">
31
31
  <el-button>left-start</el-button>
32
32
  </el-tooltip>
33
- <el-tooltip class="box-item" effect="dark" content="Right Top prompts info" placement="right-start">
33
+ <el-tooltip trigger="click" class="box-item" effect="dark" content="Right Top prompts info" placement="right-start">
34
34
  <el-button>right-start</el-button>
35
35
  </el-tooltip>
36
36
  </div>
37
37
  <div class="flex gap-7.5">
38
- <el-tooltip class="box-item" effect="dark" content="Left Center prompts info" placement="left">
38
+ <el-tooltip trigger="click" class="box-item" effect="dark" content="Left Center prompts info" placement="left">
39
39
  <el-button>left</el-button>
40
40
  </el-tooltip>
41
- <el-tooltip class="box-item" effect="dark" content="Right Center prompts info" placement="right">
41
+ <el-tooltip trigger="click" class="box-item" effect="dark" content="Right Center prompts info" placement="right">
42
42
  <el-button>right</el-button>
43
43
  </el-tooltip>
44
44
  </div>
45
45
  <div class="flex gap-7.5">
46
- <el-tooltip class="box-item" effect="dark" content="Left Bottom prompts info" placement="left-end">
46
+ <el-tooltip trigger="click" class="box-item" effect="dark" content="Left Bottom prompts info" placement="left-end">
47
47
  <el-button>left-end</el-button>
48
48
  </el-tooltip>
49
- <el-tooltip class="box-item" effect="dark" content="Right Bottom prompts info" placement="right-end">
49
+ <el-tooltip trigger="click" class="box-item" effect="dark" content="Right Bottom prompts info" placement="right-end">
50
50
  <el-button>right-end</el-button>
51
51
  </el-tooltip>
52
52
  </div>
53
53
  <div class="flex gap-7.5">
54
- <el-tooltip class="box-item" effect="dark" content="Bottom Left prompts info" placement="bottom-start">
54
+ <el-tooltip trigger="click" class="box-item" effect="dark" content="Bottom Left prompts info" placement="bottom-start">
55
55
  <el-button>bottom-start</el-button>
56
56
  </el-tooltip>
57
- <el-tooltip class="box-item" effect="dark" content="Bottom Center prompts info" placement="bottom">
57
+ <el-tooltip trigger="click" class="box-item" effect="dark" content="Bottom Center prompts info" placement="bottom">
58
58
  <el-button>bottom</el-button>
59
59
  </el-tooltip>
60
- <el-tooltip class="box-item" effect="dark" content="Bottom Right prompts info" placement="bottom-end">
60
+ <el-tooltip trigger="click" class="box-item" effect="dark" content="Bottom Right prompts info" placement="bottom-end">
61
61
  <el-button>bottom-end</el-button>
62
62
  </el-tooltip>
63
63
  </div>
@@ -75,7 +75,7 @@
75
75
  named <el-text tag="mark">content</el-text>.
76
76
  </p>
77
77
  <section class="flex gap-7.5">
78
- <el-tooltip placement="top">
78
+ <el-tooltip trigger="click" placement="top">
79
79
  <template #content> multiple lines<br />second line </template>
80
80
  <el-button>Top center</el-button>
81
81
  </el-tooltip>
@@ -91,11 +91,11 @@
91
91
 
92
92
  const snippets = ref({
93
93
  basic: `
94
- <el-tooltip class="box-item" effect="dark" content="Left Bottom prompts info" placement="left-end">
94
+ <el-tooltip trigger="click"class="box-item" effect="dark" content="Left Bottom prompts info" placement="left-end">
95
95
  <el-button>left-end</el-button>
96
96
  </el-tooltip>`,
97
97
  content: `
98
- <el-tooltip placement="top">
98
+ <el-tooltip trigger="click"placement="top">
99
99
  <template #content> multiple lines<br />second line </template>
100
100
  <el-button>Top center</el-button>
101
101
  </el-tooltip>
@@ -15,6 +15,7 @@
15
15
  <el-tab-pane class="mt-4" label="Form" name="form" lazy><example-form /></el-tab-pane>
16
16
  <el-tab-pane class="mt-4" label="Input" name="input"><example-input /></el-tab-pane>
17
17
  <el-tab-pane class="mt-4" label="Link" name="link" lazy><example-link /></el-tab-pane>
18
+ <el-tab-pane class="mt-4" label="Menu" name="menu" lazy><example-menu /></el-tab-pane>
18
19
  <el-tab-pane class="mt-4" label="Message" name="message" lazy><example-message /></el-tab-pane>
19
20
  <el-tab-pane class="mt-4" label="Number" name="number" lazy><example-number /></el-tab-pane>
20
21
  <el-tab-pane class="mt-4" label="Notification" name="notification" lazy><example-notification /></el-tab-pane>
@@ -345,6 +345,7 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
345
345
  }
346
346
  .el-button:empty {
347
347
  padding: 0;
348
+ min-width: 36px;
348
349
  }
349
350
  .el-button:hover {
350
351
  color: var(--el-button-hover-text-color);
@@ -48,6 +48,7 @@ $button-icon-span-gap: map.merge(
48
48
 
49
49
  &:empty {
50
50
  padding: 0;
51
+ min-width: 36px;
51
52
  }
52
53
 
53
54
  &:hover {
@@ -1237,7 +1237,8 @@ $menu: map.merge(
1237
1237
  'text-color': getCssVar('color-neutral-light-9'),
1238
1238
  'hover-text-color': getCssVar('color-primary'),
1239
1239
  'bg-color': getCssVar('color-white'),
1240
- 'hover-bg-color': getCssVar('color-white'),
1240
+ 'hover-bg-color': getCssVar('color', 'neutral', 'light-1'),
1241
+ 'pressed-bg-color': getCssVar('color', 'neutral', 'light-2'),
1241
1242
  'item-height': 36px,
1242
1243
  'sub-item-height': calc(#{getCssVar('menu-item-height')} - 0px),
1243
1244
  'horizontal-height': 60px,
@@ -1408,6 +1408,7 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
1408
1408
  }
1409
1409
  .el-button:empty {
1410
1410
  padding: 0;
1411
+ min-width: 36px;
1411
1412
  }
1412
1413
  .el-button:hover {
1413
1414
  color: var(--el-button-hover-text-color);
@@ -9315,7 +9316,7 @@ heights > $common-component-size
9315
9316
  height: 100%;
9316
9317
  display: inline-flex;
9317
9318
  align-items: center;
9318
- color: var(--el-color-info);
9319
+ color: var(--el-color-neutral-light-3);
9319
9320
  font-size: 12px;
9320
9321
  }
9321
9322
  .el-input .el-input__count .el-input__count-inner {
@@ -10254,7 +10255,8 @@ h6,
10254
10255
  --el-menu-text-color: var(--el-color-neutral-light-9);
10255
10256
  --el-menu-hover-text-color: var(--el-color-primary);
10256
10257
  --el-menu-bg-color: var(--el-color-white);
10257
- --el-menu-hover-bg-color: var(--el-color-white);
10258
+ --el-menu-hover-bg-color: var(--el-color-neutral-light-1);
10259
+ --el-menu-pressed-bg-color: var(--el-color-neutral-light-2);
10258
10260
  --el-menu-item-height: 36px;
10259
10261
  --el-menu-sub-item-height: calc(var(--el-menu-item-height) - 0px);
10260
10262
  --el-menu-horizontal-height: 60px;
@@ -10418,7 +10420,7 @@ h6,
10418
10420
  height: var(--el-menu-item-height);
10419
10421
  line-height: var(--el-menu-item-height);
10420
10422
  font-size: var(--el-menu-item-font-size);
10421
- color: var(--el-menu-text-color);
10423
+ color: var(--el-color-neutral-light-9);
10422
10424
  padding: var(--el-menu-base-level-padding);
10423
10425
  list-style: none;
10424
10426
  cursor: pointer;
@@ -10438,7 +10440,11 @@ h6,
10438
10440
  }
10439
10441
  .el-menu-item:hover {
10440
10442
  background-color: var(--el-menu-hover-bg-color);
10441
- color: var(--el-color-primary);
10443
+ color: var(--el-color-neutral-light-9);
10444
+ }
10445
+ .el-menu-item:active {
10446
+ background-color: var(--el-menu-pressed-bg-color);
10447
+ color: var(--el-color-neutral-light-9);
10442
10448
  }
10443
10449
  .el-menu-item.is-disabled {
10444
10450
  opacity: 0.25;
@@ -10484,7 +10490,7 @@ h6,
10484
10490
  height: var(--el-menu-item-height);
10485
10491
  line-height: var(--el-menu-item-height);
10486
10492
  font-size: var(--el-menu-item-font-size);
10487
- color: var(--el-menu-text-color);
10493
+ color: var(--el-color-neutral-light-9);
10488
10494
  padding: var(--el-menu-base-level-padding);
10489
10495
  list-style: none;
10490
10496
  cursor: pointer;
@@ -10504,7 +10510,11 @@ h6,
10504
10510
  }
10505
10511
  .el-sub-menu__title:hover {
10506
10512
  background-color: var(--el-menu-hover-bg-color);
10507
- color: var(--el-color-primary);
10513
+ color: var(--el-color-neutral-light-9);
10514
+ }
10515
+ .el-sub-menu__title:active {
10516
+ background-color: var(--el-menu-pressed-bg-color);
10517
+ color: var(--el-color-neutral-light-9);
10508
10518
  }
10509
10519
  .el-sub-menu__title.is-disabled {
10510
10520
  opacity: 0.25;
@@ -11352,10 +11362,6 @@ h6,
11352
11362
  .el-pagination__total[disabled=true] {
11353
11363
  color: var(--el-text-color-placeholder);
11354
11364
  }
11355
- .el-pagination__total::after {
11356
- content: "Records";
11357
- padding-left: 4px;
11358
- }
11359
11365
 
11360
11366
  .el-pagination__jump {
11361
11367
  display: flex;
@@ -16011,6 +16017,13 @@ mark.el-text {
16011
16017
  height: calc(50% - 10px);
16012
16018
  }
16013
16019
 
16020
+ .el-tooltip.el-popper.is-dark {
16021
+ padding: 8px 16px;
16022
+ background-color: var(--el-color-neutral-light-9);
16023
+ color: var(--el-color-neutral-light-6);
16024
+ box-shadow: 0 2px 2px 0 var(--el-color-neutral-light-6);
16025
+ }
16026
+
16014
16027
  .el-tooltip-v2__content {
16015
16028
  --el-tooltip-v2-padding: 5px 10px;
16016
16029
  --el-tooltip-v2-border-radius: 4px;
@@ -17148,15 +17161,6 @@ mark.el-text {
17148
17161
  border-right-color: transparent !important;
17149
17162
  border-top-color: transparent !important;
17150
17163
  }
17151
- .el-popper[data-popper-placement$=-end] > .el-popper__arrow {
17152
- left: auto !important;
17153
- right: 10px !important;
17154
- }
17155
- .el-popper[data-popper-placement$=-start] > .el-popper__arrow {
17156
- right: auto !important;
17157
- left: 10px !important;
17158
- }
17159
-
17160
17164
  .el-statistic {
17161
17165
  --el-statistic-title-font-weight: 400;
17162
17166
  --el-statistic-title-font-size: var(--el-font-size-tiny);
@@ -443,7 +443,7 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
443
443
  height: 100%;
444
444
  display: inline-flex;
445
445
  align-items: center;
446
- color: var(--el-color-info);
446
+ color: var(--el-color-neutral-light-3);
447
447
  font-size: 12px;
448
448
  }
449
449
  .el-input .el-input__count .el-input__count-inner {
@@ -178,7 +178,7 @@
178
178
  height: 100%;
179
179
  display: inline-flex;
180
180
  align-items: center;
181
- color: getCssVar('color-info');
181
+ color: getCssVar('color-neutral-light-3');
182
182
  font-size: 12px;
183
183
 
184
184
  .#{$namespace}-input__count-inner {
@@ -425,7 +425,8 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
425
425
  --el-menu-text-color: var(--el-color-neutral-light-9);
426
426
  --el-menu-hover-text-color: var(--el-color-primary);
427
427
  --el-menu-bg-color: var(--el-color-white);
428
- --el-menu-hover-bg-color: var(--el-color-white);
428
+ --el-menu-hover-bg-color: var(--el-color-neutral-light-1);
429
+ --el-menu-pressed-bg-color: var(--el-color-neutral-light-2);
429
430
  --el-menu-item-height: 36px;
430
431
  --el-menu-sub-item-height: calc(var(--el-menu-item-height) - 0px);
431
432
  --el-menu-horizontal-height: 60px;
@@ -589,7 +590,7 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
589
590
  height: var(--el-menu-item-height);
590
591
  line-height: var(--el-menu-item-height);
591
592
  font-size: var(--el-menu-item-font-size);
592
- color: var(--el-menu-text-color);
593
+ color: var(--el-color-neutral-light-9);
593
594
  padding: var(--el-menu-base-level-padding);
594
595
  list-style: none;
595
596
  cursor: pointer;
@@ -609,7 +610,11 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
609
610
  }
610
611
  .el-menu-item:hover {
611
612
  background-color: var(--el-menu-hover-bg-color);
612
- color: var(--el-color-primary);
613
+ color: var(--el-color-neutral-light-9);
614
+ }
615
+ .el-menu-item:active {
616
+ background-color: var(--el-menu-pressed-bg-color);
617
+ color: var(--el-color-neutral-light-9);
613
618
  }
614
619
  .el-menu-item.is-disabled {
615
620
  opacity: 0.25;
@@ -655,7 +660,7 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
655
660
  height: var(--el-menu-item-height);
656
661
  line-height: var(--el-menu-item-height);
657
662
  font-size: var(--el-menu-item-font-size);
658
- color: var(--el-menu-text-color);
663
+ color: var(--el-color-neutral-light-9);
659
664
  padding: var(--el-menu-base-level-padding);
660
665
  list-style: none;
661
666
  cursor: pointer;
@@ -675,7 +680,11 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
675
680
  }
676
681
  .el-sub-menu__title:hover {
677
682
  background-color: var(--el-menu-hover-bg-color);
678
- color: var(--el-color-primary);
683
+ color: var(--el-color-neutral-light-9);
684
+ }
685
+ .el-sub-menu__title:active {
686
+ background-color: var(--el-menu-pressed-bg-color);
687
+ color: var(--el-color-neutral-light-9);
679
688
  }
680
689
  .el-sub-menu__title.is-disabled {
681
690
  opacity: 0.25;
@@ -10,7 +10,7 @@
10
10
  height: getCssVar('menu-item-height');
11
11
  line-height: getCssVar('menu-item-height');
12
12
  font-size: getCssVar('menu-item-font-size');
13
- color: getCssVar('menu-text-color');
13
+ color: getCssVar('color-neutral-light-9');
14
14
  padding: getCssVar('menu-base-level-padding');
15
15
  list-style: none;
16
16
  cursor: pointer;
@@ -37,7 +37,12 @@
37
37
 
38
38
  &:hover {
39
39
  background-color: getCssVar('menu-hover-bg-color');
40
- color: getCssVar('color-primary');
40
+ color: getCssVar('color-neutral-light-9');
41
+ }
42
+
43
+ &:active {
44
+ background-color: getCssVar('menu-pressed-bg-color');
45
+ color: getCssVar('color-neutral-light-9');
41
46
  }
42
47
 
43
48
  @include when(disabled) {
@@ -436,10 +436,6 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
436
436
  .el-pagination__total[disabled=true] {
437
437
  color: var(--el-text-color-placeholder);
438
438
  }
439
- .el-pagination__total::after {
440
- content: "Records";
441
- padding-left: 4px;
442
- }
443
439
 
444
440
  .el-pagination__jump {
445
441
  display: flex;
@@ -125,11 +125,6 @@
125
125
  &[disabled='true'] {
126
126
  color: getCssVar('text-color', 'placeholder');
127
127
  }
128
-
129
- &::after {
130
- content: 'Records';
131
- padding-left: 4px;
132
- }
133
128
  }
134
129
 
135
130
  @include e(jump) {
@@ -399,12 +399,4 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
399
399
  .el-popper[data-popper-placement^=right] .el-popper__arrow::before {
400
400
  border-right-color: transparent !important;
401
401
  border-top-color: transparent !important;
402
- }
403
- .el-popper[data-popper-placement$=-end] > .el-popper__arrow {
404
- left: auto !important;
405
- right: 10px !important;
406
- }
407
- .el-popper[data-popper-placement$=-start] > .el-popper__arrow {
408
- right: auto !important;
409
- left: 10px !important;
410
402
  }
@@ -108,12 +108,12 @@
108
108
  }
109
109
 
110
110
  &[data-popper-placement$='-end'] > #{$arrow-selector} {
111
- left: auto !important;
112
- right: 10px !important;
111
+ // left: auto !important;
112
+ // right: 10px !important;
113
113
  }
114
114
 
115
115
  &[data-popper-placement$='-start'] > #{$arrow-selector} {
116
- right: auto !important;
117
- left: 10px !important;
116
+ // right: auto !important;
117
+ // left: 10px !important;
118
118
  }
119
119
  }
@@ -0,0 +1,308 @@
1
+ @charset "UTF-8";
2
+ /* Element Chalk Variables */
3
+ :root {
4
+ --bs-white-rgb: 255, 255, 255;
5
+ --bs-black-rgb: 0, 0, 0;
6
+ --bs-bg-opacity: 1;
7
+ --el-color-white: white;
8
+ --el-color-black: black;
9
+ }
10
+ :root {
11
+ --el-color-light-light-1: rgba(255, 255, 255, 0.01);
12
+ }
13
+ :root {
14
+ --el-color-light-light-2: rgba(255, 255, 255, 0.01);
15
+ }
16
+ :root {
17
+ --el-color-light-light-3: rgba(255, 255, 255, 0.01);
18
+ }
19
+ :root {
20
+ --el-color-light-light-4: rgba(255, 255, 255, 0.01);
21
+ }
22
+ :root {
23
+ --el-color-light-light-5: rgba(255, 255, 255, 0.01);
24
+ --el-color-light: rgba(255, 255, 255, 0.01);
25
+ }
26
+ :root {
27
+ --el-color-light-light-6: rgba(255, 255, 255, 0.01);
28
+ }
29
+ :root {
30
+ --el-color-light-light-7: rgba(255, 255, 255, 0.01);
31
+ }
32
+ :root {
33
+ --el-color-light-light-8: rgba(255, 255, 255, 0.01);
34
+ }
35
+ :root {
36
+ --el-color-light-light-9: rgba(255, 255, 255, 0.01);
37
+ }
38
+ :root {
39
+ --el-color-default-light-1: #ddd7f7;
40
+ }
41
+ :root {
42
+ --el-color-default-light-2: #bcafef;
43
+ }
44
+ :root {
45
+ --el-color-default-light-3: #9a87e6;
46
+ }
47
+ :root {
48
+ --el-color-default-light-4: #795fde;
49
+ }
50
+ :root {
51
+ --el-color-default-light-5: #5737d6;
52
+ --el-color-default: #5737d6;
53
+ }
54
+ :root {
55
+ --el-color-default-light-6: #462cab;
56
+ }
57
+ :root {
58
+ --el-color-default-light-7: #342180;
59
+ }
60
+ :root {
61
+ --el-color-default-light-8: #231656;
62
+ }
63
+ :root {
64
+ --el-color-default-light-9: #110b2b;
65
+ }
66
+ :root {
67
+ --el-color-primary-light-1: #ddd7f7;
68
+ }
69
+ :root {
70
+ --el-color-primary-light-2: #bcafef;
71
+ }
72
+ :root {
73
+ --el-color-primary-light-3: #9a87e6;
74
+ }
75
+ :root {
76
+ --el-color-primary-light-4: #795fde;
77
+ }
78
+ :root {
79
+ --el-color-primary-light-5: #5737d6;
80
+ --el-color-primary: #5737d6;
81
+ }
82
+ :root {
83
+ --el-color-primary-light-6: #462cab;
84
+ }
85
+ :root {
86
+ --el-color-primary-light-7: #342180;
87
+ }
88
+ :root {
89
+ --el-color-primary-light-8: #231656;
90
+ }
91
+ :root {
92
+ --el-color-primary-light-9: #110b2b;
93
+ }
94
+ :root {
95
+ --el-color-secondary-light-1: #eeedef;
96
+ }
97
+ :root {
98
+ --el-color-secondary-light-2: #dcdbe0;
99
+ }
100
+ :root {
101
+ --el-color-secondary-light-3: #cbcad0;
102
+ }
103
+ :root {
104
+ --el-color-secondary-light-4: #b9b8c1;
105
+ }
106
+ :root {
107
+ --el-color-secondary-light-5: #a8a6b1;
108
+ --el-color-secondary: #a8a6b1;
109
+ }
110
+ :root {
111
+ --el-color-secondary-light-6: #8b8993;
112
+ }
113
+ :root {
114
+ --el-color-secondary-light-7: #6e6c74;
115
+ }
116
+ :root {
117
+ --el-color-secondary-light-8: #515056;
118
+ }
119
+ :root {
120
+ --el-color-secondary-light-9: #343337;
121
+ }
122
+ :root {
123
+ --el-color-neutral-light-1: #eeedef;
124
+ }
125
+ :root {
126
+ --el-color-neutral-light-2: #dcdbe0;
127
+ }
128
+ :root {
129
+ --el-color-neutral-light-3: #cbcad0;
130
+ }
131
+ :root {
132
+ --el-color-neutral-light-4: #b9b8c1;
133
+ }
134
+ :root {
135
+ --el-color-neutral-light-5: #a8a6b1;
136
+ --el-color-neutral: #a8a6b1;
137
+ }
138
+ :root {
139
+ --el-color-neutral-light-6: #8b8993;
140
+ }
141
+ :root {
142
+ --el-color-neutral-light-7: #6e6c74;
143
+ }
144
+ :root {
145
+ --el-color-neutral-light-8: #515056;
146
+ }
147
+ :root {
148
+ --el-color-neutral-light-9: #343337;
149
+ }
150
+ :root {
151
+ --el-color-info-light-1: #d9ecff;
152
+ }
153
+ :root {
154
+ --el-color-info-light-2: #b2d9ff;
155
+ }
156
+ :root {
157
+ --el-color-info-light-3: #8cc7fe;
158
+ }
159
+ :root {
160
+ --el-color-info-light-4: #65b4fe;
161
+ }
162
+ :root {
163
+ --el-color-info-light-5: #3fa1fe;
164
+ --el-color-info: #3fa1fe;
165
+ }
166
+ :root {
167
+ --el-color-info-light-6: #3283cf;
168
+ }
169
+ :root {
170
+ --el-color-info-light-7: #2665a1;
171
+ }
172
+ :root {
173
+ --el-color-info-light-8: #194772;
174
+ }
175
+ :root {
176
+ --el-color-info-light-9: #0d2944;
177
+ }
178
+ :root {
179
+ --el-color-danger-light-1: #f9dede;
180
+ }
181
+ :root {
182
+ --el-color-danger-light-2: #f4bcbd;
183
+ }
184
+ :root {
185
+ --el-color-danger-light-3: #ee9b9d;
186
+ }
187
+ :root {
188
+ --el-color-danger-light-4: #e9797c;
189
+ }
190
+ :root {
191
+ --el-color-danger-light-5: #e3585b;
192
+ --el-color-danger: #e3585b;
193
+ }
194
+ :root {
195
+ --el-color-danger-light-6: #b94749;
196
+ }
197
+ :root {
198
+ --el-color-danger-light-7: #8f3638;
199
+ }
200
+ :root {
201
+ --el-color-danger-light-8: #642526;
202
+ }
203
+ :root {
204
+ --el-color-danger-light-9: #3a1415;
205
+ }
206
+ :root {
207
+ --el-color-error-light-1: #f9dede;
208
+ }
209
+ :root {
210
+ --el-color-error-light-2: #f4bcbd;
211
+ }
212
+ :root {
213
+ --el-color-error-light-3: #ee9b9d;
214
+ }
215
+ :root {
216
+ --el-color-error-light-4: #e9797c;
217
+ }
218
+ :root {
219
+ --el-color-error-light-5: #e3585b;
220
+ --el-color-error: #e3585b;
221
+ }
222
+ :root {
223
+ --el-color-error-light-6: #b94749;
224
+ }
225
+ :root {
226
+ --el-color-error-light-7: #8f3638;
227
+ }
228
+ :root {
229
+ --el-color-error-light-8: #642526;
230
+ }
231
+ :root {
232
+ --el-color-error-light-9: #3a1415;
233
+ }
234
+ :root {
235
+ --el-color-success-light-1: #dbf1e2;
236
+ }
237
+ :root {
238
+ --el-color-success-light-2: #b7e2c6;
239
+ }
240
+ :root {
241
+ --el-color-success-light-3: #94d4a9;
242
+ }
243
+ :root {
244
+ --el-color-success-light-4: #70c58d;
245
+ }
246
+ :root {
247
+ --el-color-success-light-5: #4cb770;
248
+ --el-color-success: #4cb770;
249
+ }
250
+ :root {
251
+ --el-color-success-light-6: #3d925a;
252
+ }
253
+ :root {
254
+ --el-color-success-light-7: #2e6e43;
255
+ }
256
+ :root {
257
+ --el-color-success-light-8: #1e492d;
258
+ }
259
+ :root {
260
+ --el-color-success-light-9: #0f2516;
261
+ }
262
+ :root {
263
+ --el-color-warning-light-1: #faf3dc;
264
+ }
265
+ :root {
266
+ --el-color-warning-light-2: #f6e8ba;
267
+ }
268
+ :root {
269
+ --el-color-warning-light-3: #f1dc97;
270
+ }
271
+ :root {
272
+ --el-color-warning-light-4: #edd175;
273
+ }
274
+ :root {
275
+ --el-color-warning-light-5: #e8c552;
276
+ --el-color-warning: #e8c552;
277
+ }
278
+ :root {
279
+ --el-color-warning-light-6: #bda042;
280
+ }
281
+ :root {
282
+ --el-color-warning-light-7: #927b32;
283
+ }
284
+ :root {
285
+ --el-color-warning-light-8: #665722;
286
+ }
287
+ :root {
288
+ --el-color-warning-light-9: #3b3212;
289
+ }
290
+ /**
291
+ Bununla selectorun içerisine variable ekleyebiliyorsun
292
+ .selector{
293
+ // --el-button-text-color: var(--el-color-primary); -> bu eklenir
294
+ @include css-var-from-global(('button-text-color'), ('color-primary'));
295
+
296
+ // bununla property'ye değer atayabilirsin (hiyerarşik alıyor)
297
+ color: getCssVar('colors-neutral-light-2');
298
+
299
+ // bununla da property alınabililyor
300
+ font-size: map.get($select, 'font-size');
301
+ }
302
+ **/
303
+ .el-tooltip.el-popper.is-dark {
304
+ padding: 8px 16px;
305
+ background-color: var(--el-color-neutral-light-9);
306
+ color: var(--el-color-neutral-light-6);
307
+ box-shadow: 0 2px 2px 0 var(--el-color-neutral-light-6);
308
+ }
@@ -0,0 +1,15 @@
1
+ @use 'mixins/mixins' as *;
2
+ @use 'mixins/var' as *;
3
+ @use 'common/var' as *;
4
+ @use 'mixins/button' as *;
5
+
6
+ .el-tooltip {
7
+ &.el-popper {
8
+ &.is-dark {
9
+ padding: 8px 16px;
10
+ background-color: var(--el-color-neutral-light-9);
11
+ color: var(--el-color-neutral-light-6);
12
+ box-shadow: 0 2px 2px 0 var(--el-color-neutral-light-6);
13
+ }
14
+ }
15
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timus-networks/theme",
3
- "version": "2.4.141",
3
+ "version": "2.4.143",
4
4
  "description": "A comprehensive Nuxt.js module providing a tailored theme experience with integrated TailwindCSS support for applications.",
5
5
  "type": "module",
6
6
  "exports": {