domma-js 0.3.0-alpha.0 → 0.3.1-alpha

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,9 +1,9 @@
1
1
  /*!
2
- * Domma Elements CSS v0.3.0a
2
+ * Domma Elements CSS v0.3.0-alpha.0
3
3
  * Dynamic Object Manipulation & Modeling API
4
- * (c) 2025 Darryl Waterhouse & DCBW-IT
5
- * Built: 2025-12-30T10:50:46.799Z
6
- * Commit: 8a467f0
4
+ * (c) 2026 Darryl Waterhouse & DCBW-IT
5
+ * Built: 2026-01-02T14:32:25.401Z
6
+ * Commit: bc8e519
7
7
  */
8
8
 
9
9
  /**
@@ -4796,3 +4796,222 @@ code {
4796
4796
  [data-theme="dark"] .dm-editor-context-item:hover {
4797
4797
  background: var(--dm-slate-700);
4798
4798
  }
4799
+
4800
+ /* ============================================
4801
+ TIMELINE
4802
+ ============================================ */
4803
+
4804
+ /* Base Timeline Styles */
4805
+ .dm-timeline {
4806
+ position: relative;
4807
+ max-width: 800px;
4808
+ margin: 0 auto;
4809
+ padding: var(--dm-space-8) 0;
4810
+ }
4811
+
4812
+ .dm-timeline-item {
4813
+ position: relative;
4814
+ display: flex;
4815
+ margin-bottom: var(--dm-space-8);
4816
+ align-items: flex-start;
4817
+ }
4818
+
4819
+ .dm-timeline-year {
4820
+ flex-shrink: 0;
4821
+ width: 120px;
4822
+ padding: var(--dm-space-2) var(--dm-space-3);
4823
+ background: var(--dm-primary);
4824
+ color: var(--dm-white);
4825
+ border-radius: var(--dm-radius-md);
4826
+ text-align: center;
4827
+ font-weight: 600;
4828
+ font-size: var(--dm-font-size-sm);
4829
+ margin-right: var(--dm-space-6);
4830
+ }
4831
+
4832
+ .dm-timeline-content {
4833
+ flex: 1;
4834
+ background: var(--dm-white);
4835
+ padding: var(--dm-space-6);
4836
+ border-radius: var(--dm-radius-lg);
4837
+ box-shadow: var(--dm-shadow);
4838
+ border: 1px solid var(--dm-gray-200);
4839
+ transition: all var(--dm-transition-normal);
4840
+ }
4841
+
4842
+ .dm-timeline-content:hover {
4843
+ box-shadow: var(--dm-shadow-md);
4844
+ transform: translateY(-2px);
4845
+ }
4846
+
4847
+ .dm-timeline-title {
4848
+ margin: 0 0 var(--dm-space-3) 0;
4849
+ font-size: var(--dm-font-size-lg);
4850
+ font-weight: 600;
4851
+ color: var(--dm-gray-900);
4852
+ }
4853
+
4854
+ .dm-timeline-description {
4855
+ margin: 0;
4856
+ color: var(--dm-gray-700);
4857
+ line-height: 1.6;
4858
+ }
4859
+
4860
+ /* Vertical Layout (Default) */
4861
+ .dm-timeline-vertical {
4862
+ /* Default styles already applied above */
4863
+ }
4864
+
4865
+ /* Centered Layout */
4866
+ .dm-timeline-centered::before {
4867
+ content: '';
4868
+ position: absolute;
4869
+ left: 50%;
4870
+ top: 0;
4871
+ bottom: 0;
4872
+ width: 2px;
4873
+ background: var(--dm-gray-300);
4874
+ transform: translateX(-50%);
4875
+ }
4876
+
4877
+ .dm-timeline-centered .dm-timeline-item {
4878
+ width: 50%;
4879
+ padding-right: var(--dm-space-8);
4880
+ justify-content: flex-end;
4881
+ }
4882
+
4883
+ .dm-timeline-centered .dm-timeline-item:nth-child(even) {
4884
+ left: 50%;
4885
+ padding-left: var(--dm-space-8);
4886
+ padding-right: 0;
4887
+ justify-content: flex-start;
4888
+ }
4889
+
4890
+ .dm-timeline-centered .dm-timeline-year {
4891
+ order: 2;
4892
+ margin-left: var(--dm-space-6);
4893
+ margin-right: 0;
4894
+ }
4895
+
4896
+ .dm-timeline-centered .dm-timeline-item:nth-child(even) .dm-timeline-year {
4897
+ order: 0;
4898
+ margin-left: 0;
4899
+ margin-right: var(--dm-space-6);
4900
+ }
4901
+
4902
+ /* Horizontal Layout */
4903
+ .dm-timeline-horizontal {
4904
+ display: flex;
4905
+ overflow-x: auto;
4906
+ padding-bottom: var(--dm-space-4);
4907
+ max-width: 100%;
4908
+ gap: var(--dm-space-6);
4909
+ }
4910
+
4911
+ .dm-timeline-horizontal .dm-timeline-item {
4912
+ flex-direction: column;
4913
+ margin-bottom: 0;
4914
+ min-width: 250px;
4915
+ flex-shrink: 0;
4916
+ }
4917
+
4918
+ .dm-timeline-horizontal .dm-timeline-year {
4919
+ width: auto;
4920
+ margin-right: 0;
4921
+ margin-bottom: var(--dm-space-4);
4922
+ }
4923
+
4924
+ /* Theme Variants */
4925
+ .dm-timeline-minimal .dm-timeline-content {
4926
+ box-shadow: none;
4927
+ border: 1px solid var(--dm-gray-200);
4928
+ background: var(--dm-gray-50);
4929
+ }
4930
+
4931
+ .dm-timeline-minimal .dm-timeline-year {
4932
+ background: var(--dm-gray-600);
4933
+ }
4934
+
4935
+ .dm-timeline-corporate .dm-timeline-year {
4936
+ background: var(--dm-slate-700);
4937
+ font-size: var(--dm-font-size-xs);
4938
+ text-transform: uppercase;
4939
+ letter-spacing: 0.05em;
4940
+ }
4941
+
4942
+ .dm-timeline-corporate .dm-timeline-content {
4943
+ background: var(--dm-slate-50);
4944
+ border-color: var(--dm-slate-200);
4945
+ }
4946
+
4947
+ /* Responsive Design */
4948
+ @media (max-width: 768px) {
4949
+ .dm-timeline-centered {
4950
+ /* Switch to vertical layout on mobile */
4951
+ }
4952
+
4953
+ .dm-timeline-centered::before {
4954
+ left: 30px;
4955
+ transform: none;
4956
+ }
4957
+
4958
+ .dm-timeline-centered .dm-timeline-item,
4959
+ .dm-timeline-centered .dm-timeline-item:nth-child(even) {
4960
+ width: 100%;
4961
+ left: 0;
4962
+ padding-left: var(--dm-space-16);
4963
+ padding-right: 0;
4964
+ justify-content: flex-start;
4965
+ }
4966
+
4967
+ .dm-timeline-centered .dm-timeline-year,
4968
+ .dm-timeline-centered .dm-timeline-item:nth-child(even) .dm-timeline-year {
4969
+ order: 0;
4970
+ margin-right: var(--dm-space-6);
4971
+ margin-left: 0;
4972
+ position: absolute;
4973
+ left: 0;
4974
+ width: 80px;
4975
+ }
4976
+
4977
+ .dm-timeline-horizontal {
4978
+ flex-direction: column;
4979
+ }
4980
+
4981
+ .dm-timeline-horizontal .dm-timeline-item {
4982
+ flex-direction: row;
4983
+ min-width: auto;
4984
+ margin-bottom: var(--dm-space-6);
4985
+ }
4986
+
4987
+ .dm-timeline-horizontal .dm-timeline-year {
4988
+ margin-bottom: 0;
4989
+ margin-right: var(--dm-space-4);
4990
+ width: 100px;
4991
+ }
4992
+ }
4993
+
4994
+ /* Dark Theme Support */
4995
+ [data-theme="dark"] .dm-timeline-content {
4996
+ background: var(--dm-slate-800);
4997
+ border-color: var(--dm-slate-700);
4998
+ color: var(--dm-slate-200);
4999
+ }
5000
+
5001
+ [data-theme="dark"] .dm-timeline-title {
5002
+ color: var(--dm-white);
5003
+ }
5004
+
5005
+ [data-theme="dark"] .dm-timeline-description {
5006
+ color: var(--dm-slate-300);
5007
+ }
5008
+
5009
+ [data-theme="dark"] .dm-timeline-minimal .dm-timeline-content {
5010
+ background: var(--dm-slate-900);
5011
+ border-color: var(--dm-slate-700);
5012
+ }
5013
+
5014
+ [data-theme="dark"] .dm-timeline-corporate .dm-timeline-content {
5015
+ background: var(--dm-slate-800);
5016
+ border-color: var(--dm-slate-600);
5017
+ }
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Grid CSS v0.3.0a
2
+ * Domma Grid CSS v0.3.0-alpha.0
3
3
  * Dynamic Object Manipulation & Modeling API
4
- * (c) 2025 Darryl Waterhouse & DCBW-IT
5
- * Built: 2025-12-30T10:50:46.793Z
6
- * Commit: 8a467f0
4
+ * (c) 2026 Darryl Waterhouse & DCBW-IT
5
+ * Built: 2026-01-02T14:32:25.394Z
6
+ * Commit: bc8e519
7
7
  */
8
8
 
9
9
  /**
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Syntax Highlighting CSS v0.3.0a
2
+ * Domma Syntax Highlighting CSS v0.3.0-alpha.0
3
3
  * Dynamic Object Manipulation & Modeling API
4
- * (c) 2025 Darryl Waterhouse & DCBW-IT
5
- * Built: 2025-12-30T10:50:46.807Z
6
- * Commit: 8a467f0
4
+ * (c) 2026 Darryl Waterhouse & DCBW-IT
5
+ * Built: 2026-01-02T14:32:25.413Z
6
+ * Commit: bc8e519
7
7
  */
8
8
 
9
9
  /**
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Domma Themes v0.3.0a
2
+ * Domma Themes v0.3.0-alpha.0
3
3
  * Dynamic Object Manipulation & Modeling API
4
- * (c) 2025 Darryl Waterhouse & DCBW-IT
5
- * Built: 2025-12-30T10:50:46.760Z
6
- * Commit: 8a467f0
4
+ * (c) 2026 Darryl Waterhouse & DCBW-IT
5
+ * Built: 2026-01-02T14:32:25.353Z
6
+ * Commit: bc8e519
7
7
  */
8
8
 
9
9
  /**
@@ -2687,7 +2687,7 @@
2687
2687
  --dm-surface-overlay: #f8f9fa;
2688
2688
 
2689
2689
  /* Text - Dark colors for readability on light */
2690
- --dm-text: #212529;
2690
+ --dm-text: #1a1a1a; /* Even darker for better contrast */
2691
2691
  --dm-text-secondary: #495057;
2692
2692
  --dm-text-muted: #6c757d;
2693
2693
  --dm-text-disabled: #adb5bd;
@@ -2700,8 +2700,8 @@
2700
2700
 
2701
2701
 
2702
2702
  --dm-primary: #78909c;
2703
- --dm-primary-hover: #8a9fa9;
2704
- --dm-primary-active: #9caeb6;
2703
+ --dm-primary-hover: #546e7a;
2704
+ --dm-primary-active: #455a64;
2705
2705
  --dm-primary-light: rgba(120, 144, 156, 0.15);
2706
2706
  --dm-primary-dark: #607d8b;
2707
2707