@vuetify/nightly 3.5.9-dev.2024-03-17 → 3.5.9-dev.2024-03-29

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.5.9-dev.2024-03-17
2
+ * Vuetify v3.5.9-dev.2024-03-29
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -22442,6 +22442,7 @@
22442
22442
  const makeVMainProps = propsFactory({
22443
22443
  scrollable: Boolean,
22444
22444
  ...makeComponentProps(),
22445
+ ...makeDimensionProps(),
22445
22446
  ...makeTagProps({
22446
22447
  tag: 'main'
22447
22448
  })
@@ -22453,6 +22454,9 @@
22453
22454
  let {
22454
22455
  slots
22455
22456
  } = _ref;
22457
+ const {
22458
+ dimensionStyles
22459
+ } = useDimension(props);
22456
22460
  const {
22457
22461
  mainStyles,
22458
22462
  layoutIsReady
@@ -22464,7 +22468,7 @@
22464
22468
  "class": ['v-main', {
22465
22469
  'v-main--scrollable': props.scrollable
22466
22470
  }, props.class],
22467
- "style": [mainStyles.value, ssrBootStyles.value, props.style]
22471
+ "style": [mainStyles.value, ssrBootStyles.value, dimensionStyles.value, props.style]
22468
22472
  }, {
22469
22473
  default: () => [props.scrollable ? vue.createVNode("div", {
22470
22474
  "class": "v-main__scroller"
@@ -25273,100 +25277,6 @@
25273
25277
  }
25274
25278
  });
25275
25279
 
25276
- // Types
25277
-
25278
- const makeVTimelineProps = propsFactory({
25279
- align: {
25280
- type: String,
25281
- default: 'center',
25282
- validator: v => ['center', 'start'].includes(v)
25283
- },
25284
- direction: {
25285
- type: String,
25286
- default: 'vertical',
25287
- validator: v => ['vertical', 'horizontal'].includes(v)
25288
- },
25289
- justify: {
25290
- type: String,
25291
- default: 'auto',
25292
- validator: v => ['auto', 'center'].includes(v)
25293
- },
25294
- side: {
25295
- type: String,
25296
- validator: v => v == null || ['start', 'end'].includes(v)
25297
- },
25298
- lineInset: {
25299
- type: [String, Number],
25300
- default: 0
25301
- },
25302
- lineThickness: {
25303
- type: [String, Number],
25304
- default: 2
25305
- },
25306
- lineColor: String,
25307
- truncateLine: {
25308
- type: String,
25309
- validator: v => ['start', 'end', 'both'].includes(v)
25310
- },
25311
- ...makeComponentProps(),
25312
- ...makeDensityProps(),
25313
- ...makeTagProps(),
25314
- ...makeThemeProps()
25315
- }, 'VTimeline');
25316
- const VTimeline = genericComponent()({
25317
- name: 'VTimeline',
25318
- props: makeVTimelineProps(),
25319
- setup(props, _ref) {
25320
- let {
25321
- slots
25322
- } = _ref;
25323
- const {
25324
- themeClasses
25325
- } = provideTheme(props);
25326
- const {
25327
- densityClasses
25328
- } = useDensity(props);
25329
- const {
25330
- rtlClasses
25331
- } = useRtl();
25332
- provideDefaults({
25333
- VTimelineDivider: {
25334
- lineColor: vue.toRef(props, 'lineColor')
25335
- },
25336
- VTimelineItem: {
25337
- density: vue.toRef(props, 'density'),
25338
- lineInset: vue.toRef(props, 'lineInset')
25339
- }
25340
- });
25341
- const sideClasses = vue.computed(() => {
25342
- const side = props.side ? props.side : props.density !== 'default' ? 'end' : null;
25343
- return side && `v-timeline--side-${side}`;
25344
- });
25345
- const truncateClasses = vue.computed(() => {
25346
- const classes = ['v-timeline--truncate-line-start', 'v-timeline--truncate-line-end'];
25347
- switch (props.truncateLine) {
25348
- case 'both':
25349
- return classes;
25350
- case 'start':
25351
- return classes[0];
25352
- case 'end':
25353
- return classes[1];
25354
- default:
25355
- return null;
25356
- }
25357
- });
25358
- useRender(() => vue.createVNode(props.tag, {
25359
- "class": ['v-timeline', `v-timeline--${props.direction}`, `v-timeline--align-${props.align}`, `v-timeline--justify-${props.justify}`, truncateClasses.value, {
25360
- 'v-timeline--inset-line': !!props.lineInset
25361
- }, themeClasses.value, densityClasses.value, sideClasses.value, rtlClasses.value, props.class],
25362
- "style": [{
25363
- '--v-timeline-line-thickness': convertToUnit(props.lineThickness)
25364
- }, props.style]
25365
- }, slots));
25366
- return {};
25367
- }
25368
- });
25369
-
25370
25280
  const makeVTimelineDividerProps = propsFactory({
25371
25281
  dotColor: String,
25372
25282
  fillDot: Boolean,
@@ -25513,6 +25423,103 @@
25513
25423
  }
25514
25424
  });
25515
25425
 
25426
+ const makeVTimelineProps = propsFactory({
25427
+ align: {
25428
+ type: String,
25429
+ default: 'center',
25430
+ validator: v => ['center', 'start'].includes(v)
25431
+ },
25432
+ direction: {
25433
+ type: String,
25434
+ default: 'vertical',
25435
+ validator: v => ['vertical', 'horizontal'].includes(v)
25436
+ },
25437
+ justify: {
25438
+ type: String,
25439
+ default: 'auto',
25440
+ validator: v => ['auto', 'center'].includes(v)
25441
+ },
25442
+ side: {
25443
+ type: String,
25444
+ validator: v => v == null || ['start', 'end'].includes(v)
25445
+ },
25446
+ lineThickness: {
25447
+ type: [String, Number],
25448
+ default: 2
25449
+ },
25450
+ lineColor: String,
25451
+ truncateLine: {
25452
+ type: String,
25453
+ validator: v => ['start', 'end', 'both'].includes(v)
25454
+ },
25455
+ ...only(makeVTimelineItemProps({
25456
+ lineInset: 0
25457
+ }), ['dotColor', 'fillDot', 'hideOpposite', 'iconColor', 'lineInset', 'size']),
25458
+ ...makeComponentProps(),
25459
+ ...makeDensityProps(),
25460
+ ...makeTagProps(),
25461
+ ...makeThemeProps()
25462
+ }, 'VTimeline');
25463
+ const VTimeline = genericComponent()({
25464
+ name: 'VTimeline',
25465
+ props: makeVTimelineProps(),
25466
+ setup(props, _ref) {
25467
+ let {
25468
+ slots
25469
+ } = _ref;
25470
+ const {
25471
+ themeClasses
25472
+ } = provideTheme(props);
25473
+ const {
25474
+ densityClasses
25475
+ } = useDensity(props);
25476
+ const {
25477
+ rtlClasses
25478
+ } = useRtl();
25479
+ provideDefaults({
25480
+ VTimelineDivider: {
25481
+ lineColor: vue.toRef(props, 'lineColor')
25482
+ },
25483
+ VTimelineItem: {
25484
+ density: vue.toRef(props, 'density'),
25485
+ dotColor: vue.toRef(props, 'lineColor'),
25486
+ fillDot: vue.toRef(props, 'fillDot'),
25487
+ hideOpposite: vue.toRef(props, 'hideOpposite'),
25488
+ iconColor: vue.toRef(props, 'iconColor'),
25489
+ lineColor: vue.toRef(props, 'lineColor'),
25490
+ lineInset: vue.toRef(props, 'lineInset'),
25491
+ size: vue.toRef(props, 'size')
25492
+ }
25493
+ });
25494
+ const sideClasses = vue.computed(() => {
25495
+ const side = props.side ? props.side : props.density !== 'default' ? 'end' : null;
25496
+ return side && `v-timeline--side-${side}`;
25497
+ });
25498
+ const truncateClasses = vue.computed(() => {
25499
+ const classes = ['v-timeline--truncate-line-start', 'v-timeline--truncate-line-end'];
25500
+ switch (props.truncateLine) {
25501
+ case 'both':
25502
+ return classes;
25503
+ case 'start':
25504
+ return classes[0];
25505
+ case 'end':
25506
+ return classes[1];
25507
+ default:
25508
+ return null;
25509
+ }
25510
+ });
25511
+ useRender(() => vue.createVNode(props.tag, {
25512
+ "class": ['v-timeline', `v-timeline--${props.direction}`, `v-timeline--align-${props.align}`, `v-timeline--justify-${props.justify}`, truncateClasses.value, {
25513
+ 'v-timeline--inset-line': !!props.lineInset
25514
+ }, themeClasses.value, densityClasses.value, sideClasses.value, rtlClasses.value, props.class],
25515
+ "style": [{
25516
+ '--v-timeline-line-thickness': convertToUnit(props.lineThickness)
25517
+ }, props.style]
25518
+ }, slots));
25519
+ return {};
25520
+ }
25521
+ });
25522
+
25516
25523
  const makeVToolbarItemsProps = propsFactory({
25517
25524
  ...makeComponentProps(),
25518
25525
  ...makeVariantProps({
@@ -27668,7 +27675,7 @@
27668
27675
  goTo
27669
27676
  };
27670
27677
  }
27671
- const version$1 = "3.5.9-dev.2024-03-17";
27678
+ const version$1 = "3.5.9-dev.2024-03-29";
27672
27679
  createVuetify$1.version = version$1;
27673
27680
 
27674
27681
  // Vue's inject() can only be used in setup
@@ -27921,7 +27928,7 @@
27921
27928
 
27922
27929
  /* eslint-disable local-rules/sort-imports */
27923
27930
 
27924
- const version = "3.5.9-dev.2024-03-17";
27931
+ const version = "3.5.9-dev.2024-03-29";
27925
27932
 
27926
27933
  /* eslint-disable local-rules/sort-imports */
27927
27934