@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.
package/dist/vuetify.js CHANGED
@@ -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
  */
@@ -22675,6 +22675,7 @@
22675
22675
  const makeVMainProps = propsFactory({
22676
22676
  scrollable: Boolean,
22677
22677
  ...makeComponentProps(),
22678
+ ...makeDimensionProps(),
22678
22679
  ...makeTagProps({
22679
22680
  tag: 'main'
22680
22681
  })
@@ -22686,6 +22687,9 @@
22686
22687
  let {
22687
22688
  slots
22688
22689
  } = _ref;
22690
+ const {
22691
+ dimensionStyles
22692
+ } = useDimension(props);
22689
22693
  const {
22690
22694
  mainStyles,
22691
22695
  layoutIsReady
@@ -22697,7 +22701,7 @@
22697
22701
  "class": ['v-main', {
22698
22702
  'v-main--scrollable': props.scrollable
22699
22703
  }, props.class],
22700
- "style": [mainStyles.value, ssrBootStyles.value, props.style]
22704
+ "style": [mainStyles.value, ssrBootStyles.value, dimensionStyles.value, props.style]
22701
22705
  }, {
22702
22706
  default: () => [props.scrollable ? vue.createVNode("div", {
22703
22707
  "class": "v-main__scroller"
@@ -25506,100 +25510,6 @@
25506
25510
  }
25507
25511
  });
25508
25512
 
25509
- // Types
25510
-
25511
- const makeVTimelineProps = propsFactory({
25512
- align: {
25513
- type: String,
25514
- default: 'center',
25515
- validator: v => ['center', 'start'].includes(v)
25516
- },
25517
- direction: {
25518
- type: String,
25519
- default: 'vertical',
25520
- validator: v => ['vertical', 'horizontal'].includes(v)
25521
- },
25522
- justify: {
25523
- type: String,
25524
- default: 'auto',
25525
- validator: v => ['auto', 'center'].includes(v)
25526
- },
25527
- side: {
25528
- type: String,
25529
- validator: v => v == null || ['start', 'end'].includes(v)
25530
- },
25531
- lineInset: {
25532
- type: [String, Number],
25533
- default: 0
25534
- },
25535
- lineThickness: {
25536
- type: [String, Number],
25537
- default: 2
25538
- },
25539
- lineColor: String,
25540
- truncateLine: {
25541
- type: String,
25542
- validator: v => ['start', 'end', 'both'].includes(v)
25543
- },
25544
- ...makeComponentProps(),
25545
- ...makeDensityProps(),
25546
- ...makeTagProps(),
25547
- ...makeThemeProps()
25548
- }, 'VTimeline');
25549
- const VTimeline = genericComponent()({
25550
- name: 'VTimeline',
25551
- props: makeVTimelineProps(),
25552
- setup(props, _ref) {
25553
- let {
25554
- slots
25555
- } = _ref;
25556
- const {
25557
- themeClasses
25558
- } = provideTheme(props);
25559
- const {
25560
- densityClasses
25561
- } = useDensity(props);
25562
- const {
25563
- rtlClasses
25564
- } = useRtl();
25565
- provideDefaults({
25566
- VTimelineDivider: {
25567
- lineColor: vue.toRef(props, 'lineColor')
25568
- },
25569
- VTimelineItem: {
25570
- density: vue.toRef(props, 'density'),
25571
- lineInset: vue.toRef(props, 'lineInset')
25572
- }
25573
- });
25574
- const sideClasses = vue.computed(() => {
25575
- const side = props.side ? props.side : props.density !== 'default' ? 'end' : null;
25576
- return side && `v-timeline--side-${side}`;
25577
- });
25578
- const truncateClasses = vue.computed(() => {
25579
- const classes = ['v-timeline--truncate-line-start', 'v-timeline--truncate-line-end'];
25580
- switch (props.truncateLine) {
25581
- case 'both':
25582
- return classes;
25583
- case 'start':
25584
- return classes[0];
25585
- case 'end':
25586
- return classes[1];
25587
- default:
25588
- return null;
25589
- }
25590
- });
25591
- useRender(() => vue.createVNode(props.tag, {
25592
- "class": ['v-timeline', `v-timeline--${props.direction}`, `v-timeline--align-${props.align}`, `v-timeline--justify-${props.justify}`, truncateClasses.value, {
25593
- 'v-timeline--inset-line': !!props.lineInset
25594
- }, themeClasses.value, densityClasses.value, sideClasses.value, rtlClasses.value, props.class],
25595
- "style": [{
25596
- '--v-timeline-line-thickness': convertToUnit(props.lineThickness)
25597
- }, props.style]
25598
- }, slots));
25599
- return {};
25600
- }
25601
- });
25602
-
25603
25513
  const makeVTimelineDividerProps = propsFactory({
25604
25514
  dotColor: String,
25605
25515
  fillDot: Boolean,
@@ -25746,6 +25656,103 @@
25746
25656
  }
25747
25657
  });
25748
25658
 
25659
+ const makeVTimelineProps = propsFactory({
25660
+ align: {
25661
+ type: String,
25662
+ default: 'center',
25663
+ validator: v => ['center', 'start'].includes(v)
25664
+ },
25665
+ direction: {
25666
+ type: String,
25667
+ default: 'vertical',
25668
+ validator: v => ['vertical', 'horizontal'].includes(v)
25669
+ },
25670
+ justify: {
25671
+ type: String,
25672
+ default: 'auto',
25673
+ validator: v => ['auto', 'center'].includes(v)
25674
+ },
25675
+ side: {
25676
+ type: String,
25677
+ validator: v => v == null || ['start', 'end'].includes(v)
25678
+ },
25679
+ lineThickness: {
25680
+ type: [String, Number],
25681
+ default: 2
25682
+ },
25683
+ lineColor: String,
25684
+ truncateLine: {
25685
+ type: String,
25686
+ validator: v => ['start', 'end', 'both'].includes(v)
25687
+ },
25688
+ ...only(makeVTimelineItemProps({
25689
+ lineInset: 0
25690
+ }), ['dotColor', 'fillDot', 'hideOpposite', 'iconColor', 'lineInset', 'size']),
25691
+ ...makeComponentProps(),
25692
+ ...makeDensityProps(),
25693
+ ...makeTagProps(),
25694
+ ...makeThemeProps()
25695
+ }, 'VTimeline');
25696
+ const VTimeline = genericComponent()({
25697
+ name: 'VTimeline',
25698
+ props: makeVTimelineProps(),
25699
+ setup(props, _ref) {
25700
+ let {
25701
+ slots
25702
+ } = _ref;
25703
+ const {
25704
+ themeClasses
25705
+ } = provideTheme(props);
25706
+ const {
25707
+ densityClasses
25708
+ } = useDensity(props);
25709
+ const {
25710
+ rtlClasses
25711
+ } = useRtl();
25712
+ provideDefaults({
25713
+ VTimelineDivider: {
25714
+ lineColor: vue.toRef(props, 'lineColor')
25715
+ },
25716
+ VTimelineItem: {
25717
+ density: vue.toRef(props, 'density'),
25718
+ dotColor: vue.toRef(props, 'lineColor'),
25719
+ fillDot: vue.toRef(props, 'fillDot'),
25720
+ hideOpposite: vue.toRef(props, 'hideOpposite'),
25721
+ iconColor: vue.toRef(props, 'iconColor'),
25722
+ lineColor: vue.toRef(props, 'lineColor'),
25723
+ lineInset: vue.toRef(props, 'lineInset'),
25724
+ size: vue.toRef(props, 'size')
25725
+ }
25726
+ });
25727
+ const sideClasses = vue.computed(() => {
25728
+ const side = props.side ? props.side : props.density !== 'default' ? 'end' : null;
25729
+ return side && `v-timeline--side-${side}`;
25730
+ });
25731
+ const truncateClasses = vue.computed(() => {
25732
+ const classes = ['v-timeline--truncate-line-start', 'v-timeline--truncate-line-end'];
25733
+ switch (props.truncateLine) {
25734
+ case 'both':
25735
+ return classes;
25736
+ case 'start':
25737
+ return classes[0];
25738
+ case 'end':
25739
+ return classes[1];
25740
+ default:
25741
+ return null;
25742
+ }
25743
+ });
25744
+ useRender(() => vue.createVNode(props.tag, {
25745
+ "class": ['v-timeline', `v-timeline--${props.direction}`, `v-timeline--align-${props.align}`, `v-timeline--justify-${props.justify}`, truncateClasses.value, {
25746
+ 'v-timeline--inset-line': !!props.lineInset
25747
+ }, themeClasses.value, densityClasses.value, sideClasses.value, rtlClasses.value, props.class],
25748
+ "style": [{
25749
+ '--v-timeline-line-thickness': convertToUnit(props.lineThickness)
25750
+ }, props.style]
25751
+ }, slots));
25752
+ return {};
25753
+ }
25754
+ });
25755
+
25749
25756
  const makeVToolbarItemsProps = propsFactory({
25750
25757
  ...makeComponentProps(),
25751
25758
  ...makeVariantProps({
@@ -26256,7 +26263,7 @@
26256
26263
  goTo
26257
26264
  };
26258
26265
  }
26259
- const version$1 = "3.5.9-dev.2024-03-17";
26266
+ const version$1 = "3.5.9-dev.2024-03-29";
26260
26267
  createVuetify$1.version = version$1;
26261
26268
 
26262
26269
  // Vue's inject() can only be used in setup
@@ -26281,7 +26288,7 @@
26281
26288
  ...options
26282
26289
  });
26283
26290
  };
26284
- const version = "3.5.9-dev.2024-03-17";
26291
+ const version = "3.5.9-dev.2024-03-29";
26285
26292
  createVuetify.version = version;
26286
26293
 
26287
26294
  exports.blueprints = index;